[PATCH] Reject live update of offloading options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1155441
---
 src/qemu/qemu_hotplug.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 33241fb..d3bf392 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@ -1981,7 +1981,18 @@ qemuDomainChangeNet(virQEMUDriverPtr driver,
          olddev->driver.virtio.txmode != newdev->driver.virtio.txmode ||
          olddev->driver.virtio.ioeventfd != newdev->driver.virtio.ioeventfd ||
          olddev->driver.virtio.event_idx != newdev->driver.virtio.event_idx ||
-         olddev->driver.virtio.queues != newdev->driver.virtio.queues)) {
+         olddev->driver.virtio.queues != newdev->driver.virtio.queues ||
+         olddev->driver.virtio.host.csum != newdev->driver.virtio.host.csum ||
+         olddev->driver.virtio.host.gso != newdev->driver.virtio.host.gso ||
+         olddev->driver.virtio.host.tso4 != newdev->driver.virtio.host.tso4 ||
+         olddev->driver.virtio.host.tso6 != newdev->driver.virtio.host.tso6 ||
+         olddev->driver.virtio.host.ecn != newdev->driver.virtio.host.ecn ||
+         olddev->driver.virtio.host.ufo != newdev->driver.virtio.host.ufo ||
+         olddev->driver.virtio.guest.csum != newdev->driver.virtio.guest.csum ||
+         olddev->driver.virtio.guest.tso4 != newdev->driver.virtio.guest.tso4 ||
+         olddev->driver.virtio.guest.tso6 != newdev->driver.virtio.guest.tso6 ||
+         olddev->driver.virtio.guest.ecn != newdev->driver.virtio.guest.ecn ||
+         olddev->driver.virtio.guest.ufo != newdev->driver.virtio.guest.ufo)) {
         virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
                        _("cannot modify virtio network device driver attributes"));
         goto cleanup;
-- 
2.0.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]