|
|
9119d9 |
From 5cda3789ba0d61bc34fa44b50b5ce729966d1da7 Mon Sep 17 00:00:00 2001
|
|
|
9119d9 |
Message-Id: <5cda3789ba0d61bc34fa44b50b5ce729966d1da7@dist-git>
|
|
|
9119d9 |
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
|
|
|
9119d9 |
Date: Thu, 30 Oct 2014 17:30:48 +0100
|
|
|
9119d9 |
Subject: [PATCH] Reject live update of offloading options
|
|
|
9119d9 |
|
|
|
9119d9 |
https://bugzilla.redhat.com/show_bug.cgi?id=1155441
|
|
|
9119d9 |
(cherry picked from commit 4abcf04e7c01ddc1b0a92a4a25d829c51ceadac9)
|
|
|
9119d9 |
|
|
|
9119d9 |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
9119d9 |
---
|
|
|
9119d9 |
src/qemu/qemu_hotplug.c | 13 ++++++++++++-
|
|
|
9119d9 |
1 file changed, 12 insertions(+), 1 deletion(-)
|
|
|
9119d9 |
|
|
|
9119d9 |
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
|
|
|
9119d9 |
index bbfd3de..14acac0 100644
|
|
|
9119d9 |
--- a/src/qemu/qemu_hotplug.c
|
|
|
9119d9 |
+++ b/src/qemu/qemu_hotplug.c
|
|
|
9119d9 |
@@ -1980,7 +1980,18 @@ qemuDomainChangeNet(virQEMUDriverPtr driver,
|
|
|
9119d9 |
olddev->driver.virtio.txmode != newdev->driver.virtio.txmode ||
|
|
|
9119d9 |
olddev->driver.virtio.ioeventfd != newdev->driver.virtio.ioeventfd ||
|
|
|
9119d9 |
olddev->driver.virtio.event_idx != newdev->driver.virtio.event_idx ||
|
|
|
9119d9 |
- olddev->driver.virtio.queues != newdev->driver.virtio.queues)) {
|
|
|
9119d9 |
+ olddev->driver.virtio.queues != newdev->driver.virtio.queues ||
|
|
|
9119d9 |
+ olddev->driver.virtio.host.csum != newdev->driver.virtio.host.csum ||
|
|
|
9119d9 |
+ olddev->driver.virtio.host.gso != newdev->driver.virtio.host.gso ||
|
|
|
9119d9 |
+ olddev->driver.virtio.host.tso4 != newdev->driver.virtio.host.tso4 ||
|
|
|
9119d9 |
+ olddev->driver.virtio.host.tso6 != newdev->driver.virtio.host.tso6 ||
|
|
|
9119d9 |
+ olddev->driver.virtio.host.ecn != newdev->driver.virtio.host.ecn ||
|
|
|
9119d9 |
+ olddev->driver.virtio.host.ufo != newdev->driver.virtio.host.ufo ||
|
|
|
9119d9 |
+ olddev->driver.virtio.guest.csum != newdev->driver.virtio.guest.csum ||
|
|
|
9119d9 |
+ olddev->driver.virtio.guest.tso4 != newdev->driver.virtio.guest.tso4 ||
|
|
|
9119d9 |
+ olddev->driver.virtio.guest.tso6 != newdev->driver.virtio.guest.tso6 ||
|
|
|
9119d9 |
+ olddev->driver.virtio.guest.ecn != newdev->driver.virtio.guest.ecn ||
|
|
|
9119d9 |
+ olddev->driver.virtio.guest.ufo != newdev->driver.virtio.guest.ufo)) {
|
|
|
9119d9 |
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
|
|
|
9119d9 |
_("cannot modify virtio network device driver attributes"));
|
|
|
9119d9 |
goto cleanup;
|
|
|
9119d9 |
--
|
|
|
9119d9 |
2.1.3
|
|
|
9119d9 |
|