]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: report error on attempt to live change virtio-net queues
authorLaine Stump <laine@laine.org>
Tue, 3 Dec 2013 10:40:38 +0000 (12:40 +0200)
committerLaine Stump <laine@laine.org>
Tue, 3 Dec 2013 14:50:59 +0000 (16:50 +0200)
commit5e12641e0ea49fa1f0b4338f999ec63f41efec4c
treeb5853191b36df0d94550d12541e1a278449cf5b2
parenta602e90bc1e0743d7e801b730e303674d24fa89f
qemu: report error on attempt to live change virtio-net queues

This resolves:

  https://bugzilla.redhat.com/show_bug.cgi?id=1029732

The BZ asked for the capability to change the number of queues used by
a virtio-net device while the device is in use. Because the number of
queues can only be set at the time the device is created, that isn't
possible. However, libvirt also shouldn't be silently reporting
success when someone tries to change the number of queues. So this
patch flags that as an error (just as attempts to change any of the
other virtio-specific parameters already do).
src/qemu/qemu_hotplug.c