From 0f0da3d1bf4733f182882176376235c5acb19019 Mon Sep 17 00:00:00 2001 From: "Danilo C. L. de Paula" Date: Mon, 5 Oct 2020 10:12:59 -0400 Subject: [PATCH] Revert "* Mon Oct 05 2020 Danilo Cesar Lemes de Paula - 5.1.0-11.el8_3" This reverts commit b7068d958b5322c0f1fd1d4d99d307b4dd2bcc92. --- ...se-max-bandwidth-to-128-MiB-s-1-Gib-.patch | 56 ------ ...ser-vsock-pci-force-virtio-version-1.patch | 71 -------- ...ost-vsock-ccw-force-virtio-version-1.patch | 66 ------- ...ost-vsock-pci-force-virtio-version-1.patch | 87 --------- ...cy-support-check-on-machine-types-le.patch | 169 ------------------ qemu-kvm.spec | 32 +--- 6 files changed, 4 insertions(+), 477 deletions(-) delete mode 100644 kvm-migration-increase-max-bandwidth-to-128-MiB-s-1-Gib-.patch delete mode 100644 kvm-vhost-user-vsock-pci-force-virtio-version-1.patch delete mode 100644 kvm-vhost-vsock-ccw-force-virtio-version-1.patch delete mode 100644 kvm-vhost-vsock-pci-force-virtio-version-1.patch delete mode 100644 kvm-virtio-skip-legacy-support-check-on-machine-types-le.patch diff --git a/kvm-migration-increase-max-bandwidth-to-128-MiB-s-1-Gib-.patch b/kvm-migration-increase-max-bandwidth-to-128-MiB-s-1-Gib-.patch deleted file mode 100644 index 0993573..0000000 --- a/kvm-migration-increase-max-bandwidth-to-128-MiB-s-1-Gib-.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 5583f651d07532729bdaf9d65ede9bea18e38b5d Mon Sep 17 00:00:00 2001 -From: Laurent Vivier -Date: Mon, 28 Sep 2020 11:06:48 -0400 -Subject: [PATCH 5/6] migration: increase max-bandwidth to 128 MiB/s (1 Gib/s) - -RH-Author: Laurent Vivier -Message-id: <20200928110648.342290-1-lvivier@redhat.com> -Patchwork-id: 98494 -O-Subject: [RHEL-AV-8.3.0 qemu-kvm PATCH] migration: increase max-bandwidth to 128 MiB/s (1 Gib/s) -Bugzilla: 1874004 -RH-Acked-by: Dr. David Alan Gilbert -RH-Acked-by: Daniel P. Berrange -RH-Acked-by: Greg Kurz - -max-bandwidth is set by default to 32 MiB/s (256 Mib/s) -since 2008 (5bb7910af031c). - -Most of the CPUs can dirty memory faster than that now, -and this is clearly a problem with POWER where the page -size is 64 kiB and not 4 KiB. - -Signed-off-by: Laurent Vivier -Message-Id: <20200921144957.979989-1-lvivier@redhat.com> -Reviewed-by: David Gibson -Reviewed-by: Greg Kurz -Reviewed-by: Dr. David Alan Gilbert -Signed-off-by: Dr. David Alan Gilbert -(cherry picked from commit 7590a2ae091fde8bb72d5df93977ab9707e23242) -Signed-off-by: Laurent Vivier - -BREW: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=31576368 -BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1874004 -Upstream: Merged -Tested: checked a migration while an installation is running can end - before the end of installation -Signed-off-by: Danilo C. L. de Paula ---- - migration/migration.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/migration/migration.c b/migration/migration.c -index 7a89ce39a76..8193f33f768 100644 ---- a/migration/migration.c -+++ b/migration/migration.c -@@ -57,7 +57,7 @@ - #include "qemu/queue.h" - #include "multifd.h" - --#define MAX_THROTTLE (32 << 20) /* Migration transfer speed throttling */ -+#define MAX_THROTTLE (128 << 20) /* Migration transfer speed throttling */ - - /* Amount of time to allocate to each "chunk" of bandwidth-throttled - * data. */ --- -2.27.0 - diff --git a/kvm-vhost-user-vsock-pci-force-virtio-version-1.patch b/kvm-vhost-user-vsock-pci-force-virtio-version-1.patch deleted file mode 100644 index 9922e1a..0000000 --- a/kvm-vhost-user-vsock-pci-force-virtio-version-1.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 0c85b4d826747708971a1add4fe464e31b84b36e Mon Sep 17 00:00:00 2001 -From: Stefano Garzarella -Date: Tue, 29 Sep 2020 12:41:42 -0400 -Subject: [PATCH 3/6] vhost-user-vsock-pci: force virtio version 1 - -RH-Author: Stefano Garzarella -Message-id: <20200929124143.41520-4-sgarzare@redhat.com> -Patchwork-id: 98513 -O-Subject: [RHEL-AV-8.3.0 qemu-kvm PATCH 3/4] vhost-user-vsock-pci: force virtio version 1 -Bugzilla: 1868449 -RH-Acked-by: Danilo de Paula -RH-Acked-by: Michael S. Tsirkin -RH-Acked-by: Dr. David Alan Gilbert -RH-Acked-by: Cornelia Huck - -Commit 9b3a35ec82 ("virtio: verify that legacy support is not -accidentally on") added a safety check that requires to set -'disable-legacy=on' on vhost-user-vsock-pci device: - - $ ./qemu-system-x86_64 ... \ - -chardev socket,id=char0,reconnect=0,path=/tmp/vhost4.socket \ - -device vhost-user-vsock-pci,chardev=char0 - qemu-system-x86_64: -device vhost-user-vsock-pci,chardev=char0: - device is modern-only, use disable-legacy=on - -virtio-vsock was introduced after the release of VIRTIO 1.0 -specifications, so it should be 'modern-only'. - -This patch forces virtio version 1 and removes the 'transitional_name' -property, as done for vhost-vsock-pci, removing the need to specify -'disable-legacy=on' on vhost-user-vsock-pci device. - -Cc: qemu-stable@nongnu.org -Suggested-by: Cornelia Huck -Reviewed-by: Cornelia Huck -Signed-off-by: Stefano Garzarella -Message-Id: <20200921122506.82515-4-sgarzare@redhat.com> -Reviewed-by: Michael S. Tsirkin -Signed-off-by: Michael S. Tsirkin -(cherry picked from commit 27eda699f59d430c33fc054a36a17251992e70dc) -Signed-off-by: Stefano Garzarella -Signed-off-by: Danilo C. L. de Paula ---- - hw/virtio/vhost-user-vsock-pci.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/hw/virtio/vhost-user-vsock-pci.c b/hw/virtio/vhost-user-vsock-pci.c -index f4cf95873d3..492df6418a4 100644 ---- a/hw/virtio/vhost-user-vsock-pci.c -+++ b/hw/virtio/vhost-user-vsock-pci.c -@@ -40,6 +40,9 @@ static void vhost_user_vsock_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) - VHostUserVSockPCI *dev = VHOST_USER_VSOCK_PCI(vpci_dev); - DeviceState *vdev = DEVICE(&dev->vdev); - -+ /* unlike vhost-vsock, we do not need to care about pre-5.1 compat */ -+ virtio_pci_force_virtio_1(vpci_dev); -+ - qdev_realize(vdev, BUS(&vpci_dev->bus), errp); - } - -@@ -68,7 +71,6 @@ static void vhost_user_vsock_pci_instance_init(Object *obj) - static const VirtioPCIDeviceTypeInfo vhost_user_vsock_pci_info = { - .base_name = TYPE_VHOST_USER_VSOCK_PCI, - .generic_name = "vhost-user-vsock-pci", -- .transitional_name = "vhost-user-vsock-pci-transitional", - .non_transitional_name = "vhost-user-vsock-pci-non-transitional", - .instance_size = sizeof(VHostUserVSockPCI), - .instance_init = vhost_user_vsock_pci_instance_init, --- -2.27.0 - diff --git a/kvm-vhost-vsock-ccw-force-virtio-version-1.patch b/kvm-vhost-vsock-ccw-force-virtio-version-1.patch deleted file mode 100644 index cadb930..0000000 --- a/kvm-vhost-vsock-ccw-force-virtio-version-1.patch +++ /dev/null @@ -1,66 +0,0 @@ -From ca33af3be677c483117f7124170003fe2876a025 Mon Sep 17 00:00:00 2001 -From: Stefano Garzarella -Date: Tue, 29 Sep 2020 12:41:43 -0400 -Subject: [PATCH 4/6] vhost-vsock-ccw: force virtio version 1 - -RH-Author: Stefano Garzarella -Message-id: <20200929124143.41520-5-sgarzare@redhat.com> -Patchwork-id: 98514 -O-Subject: [RHEL-AV-8.3.0 qemu-kvm PATCH 4/4] vhost-vsock-ccw: force virtio version 1 -Bugzilla: 1868449 -RH-Acked-by: Danilo de Paula -RH-Acked-by: Michael S. Tsirkin -RH-Acked-by: Dr. David Alan Gilbert -RH-Acked-by: Cornelia Huck - -virtio-vsock was introduced after the release of VIRTIO 1.0 -specifications, so it should be 'modern-only'. - -This patch forces virtio version 1 as done for vhost-vsock-pci. - -To avoid migration issues, we force virtio version 1 only when -legacy check is enabled in the new machine types (>= 5.1). - -Cc: qemu-stable@nongnu.org -Suggested-by: Cornelia Huck -Reviewed-by: Cornelia Huck -Signed-off-by: Stefano Garzarella -Message-Id: <20200921122506.82515-5-sgarzare@redhat.com> -Reviewed-by: Michael S. Tsirkin -Signed-off-by: Michael S. Tsirkin -(cherry picked from commit a6704a34cf02add13964149e0de6453ae62bd9db) -Signed-off-by: Stefano Garzarella -Signed-off-by: Danilo C. L. de Paula ---- - hw/s390x/vhost-vsock-ccw.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/hw/s390x/vhost-vsock-ccw.c b/hw/s390x/vhost-vsock-ccw.c -index 0822ecca893..246416a8f96 100644 ---- a/hw/s390x/vhost-vsock-ccw.c -+++ b/hw/s390x/vhost-vsock-ccw.c -@@ -40,9 +40,21 @@ static void vhost_vsock_ccw_class_init(ObjectClass *klass, void *data) - static void vhost_vsock_ccw_instance_init(Object *obj) - { - VHostVSockCCWState *dev = VHOST_VSOCK_CCW(obj); -+ VirtioCcwDevice *ccw_dev = VIRTIO_CCW_DEVICE(obj); -+ VirtIODevice *virtio_dev; - - virtio_instance_init_common(obj, &dev->vdev, sizeof(dev->vdev), - TYPE_VHOST_VSOCK); -+ -+ virtio_dev = VIRTIO_DEVICE(&dev->vdev); -+ -+ /* -+ * To avoid migration issues, we force virtio version 1 only when -+ * legacy check is enabled in the new machine types (>= 5.1). -+ */ -+ if (!virtio_legacy_check_disabled(virtio_dev)) { -+ ccw_dev->force_revision_1 = true; -+ } - } - - static const TypeInfo vhost_vsock_ccw_info = { --- -2.27.0 - diff --git a/kvm-vhost-vsock-pci-force-virtio-version-1.patch b/kvm-vhost-vsock-pci-force-virtio-version-1.patch deleted file mode 100644 index 1fb3733..0000000 --- a/kvm-vhost-vsock-pci-force-virtio-version-1.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 0af2bd4abfdb7b79a3816a920d55c86190c90533 Mon Sep 17 00:00:00 2001 -From: Stefano Garzarella -Date: Tue, 29 Sep 2020 12:41:41 -0400 -Subject: [PATCH 2/6] vhost-vsock-pci: force virtio version 1 - -RH-Author: Stefano Garzarella -Message-id: <20200929124143.41520-3-sgarzare@redhat.com> -Patchwork-id: 98511 -O-Subject: [RHEL-AV-8.3.0 qemu-kvm PATCH 2/4] vhost-vsock-pci: force virtio version 1 -Bugzilla: 1868449 -RH-Acked-by: Danilo de Paula -RH-Acked-by: Michael S. Tsirkin -RH-Acked-by: Dr. David Alan Gilbert -RH-Acked-by: Cornelia Huck - -Commit 9b3a35ec82 ("virtio: verify that legacy support is not -accidentally on") added a safety check that requires to set -'disable-legacy=on' on vhost-vsock-pci device: - - $ ./qemu-system-x86_64 ... -device vhost-vsock-pci,guest-cid=5 - qemu-system-x86_64: -device vhost-vsock-pci,guest-cid=5: - device is modern-only, use disable-legacy=on - -virtio-vsock was introduced after the release of VIRTIO 1.0 -specifications, so it should be 'modern-only'. -In addition Cornelia verified that forcing a legacy mode on -vhost-vsock-pci device using x86-64 host and s390x guest, so with -different endianness, produces strange behaviours. - -This patch forces virtio version 1 and removes the 'transitional_name' -property removing the need to specify 'disable-legacy=on' on -vhost-vsock-pci device. - -To avoid migration issues, we force virtio version 1 only when -legacy check is enabled in the new machine types (>= 5.1). - -As the transitional device name is not commonly used, we do not -provide compatibility handling for it. - -Cc: qemu-stable@nongnu.org -Reported-by: Qian Cai -Reported-by: Qinghua Cheng -Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1868449 -Suggested-by: Cornelia Huck -Reviewed-by: Cornelia Huck -Signed-off-by: Stefano Garzarella -Message-Id: <20200921122506.82515-3-sgarzare@redhat.com> -Reviewed-by: Michael S. Tsirkin -Signed-off-by: Michael S. Tsirkin -(cherry picked from commit 6209070503989cf4f28549f228989419d4f0b236) -Signed-off-by: Stefano Garzarella -Signed-off-by: Danilo C. L. de Paula ---- - hw/virtio/vhost-vsock-pci.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/hw/virtio/vhost-vsock-pci.c b/hw/virtio/vhost-vsock-pci.c -index a815278e69c..f11a38292fe 100644 ---- a/hw/virtio/vhost-vsock-pci.c -+++ b/hw/virtio/vhost-vsock-pci.c -@@ -43,6 +43,15 @@ static void vhost_vsock_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) - { - VHostVSockPCI *dev = VHOST_VSOCK_PCI(vpci_dev); - DeviceState *vdev = DEVICE(&dev->vdev); -+ VirtIODevice *virtio_dev = VIRTIO_DEVICE(vdev); -+ -+ /* -+ * To avoid migration issues, we force virtio version 1 only when -+ * legacy check is enabled in the new machine types (>= 5.1). -+ */ -+ if (!virtio_legacy_check_disabled(virtio_dev)) { -+ virtio_pci_force_virtio_1(vpci_dev); -+ } - - qdev_realize(vdev, BUS(&vpci_dev->bus), errp); - } -@@ -72,7 +81,6 @@ static void vhost_vsock_pci_instance_init(Object *obj) - static const VirtioPCIDeviceTypeInfo vhost_vsock_pci_info = { - .base_name = TYPE_VHOST_VSOCK_PCI, - .generic_name = "vhost-vsock-pci", -- .transitional_name = "vhost-vsock-pci-transitional", - .non_transitional_name = "vhost-vsock-pci-non-transitional", - .instance_size = sizeof(VHostVSockPCI), - .instance_init = vhost_vsock_pci_instance_init, --- -2.27.0 - diff --git a/kvm-virtio-skip-legacy-support-check-on-machine-types-le.patch b/kvm-virtio-skip-legacy-support-check-on-machine-types-le.patch deleted file mode 100644 index 1bea17a..0000000 --- a/kvm-virtio-skip-legacy-support-check-on-machine-types-le.patch +++ /dev/null @@ -1,169 +0,0 @@ -From 9455373aefea91177dcf32da2c448f93b8e7aa38 Mon Sep 17 00:00:00 2001 -From: Stefano Garzarella -Date: Tue, 29 Sep 2020 12:41:40 -0400 -Subject: [PATCH 1/6] virtio: skip legacy support check on machine types less - than 5.1 - -RH-Author: Stefano Garzarella -Message-id: <20200929124143.41520-2-sgarzare@redhat.com> -Patchwork-id: 98512 -O-Subject: [RHEL-AV-8.3.0 qemu-kvm PATCH 1/4] virtio: skip legacy support check on machine types less than 5.1 -Bugzilla: 1868449 -RH-Acked-by: Danilo de Paula -RH-Acked-by: Michael S. Tsirkin -RH-Acked-by: Dr. David Alan Gilbert -RH-Acked-by: Cornelia Huck - -Commit 9b3a35ec82 ("virtio: verify that legacy support is not accidentally -on") added a check that returns an error if legacy support is on, but the -device does not support legacy. - -Unfortunately some devices were wrongly declared legacy capable even if -they were not (e.g vhost-vsock). - -To avoid migration issues, we add a virtio-device property -(x-disable-legacy-check) to skip the legacy error, printing a warning -instead, for machine types < 5.1. - -Cc: qemu-stable@nongnu.org -Fixes: 9b3a35ec82 ("virtio: verify that legacy support is not accidentally on") -Suggested-by: Dr. David Alan Gilbert -Suggested-by: Cornelia Huck -Reviewed-by: Cornelia Huck -Signed-off-by: Stefano Garzarella -Message-Id: <20200921122506.82515-2-sgarzare@redhat.com> -Reviewed-by: Michael S. Tsirkin -Signed-off-by: Michael S. Tsirkin - -(cherry picked from commit d55f518248f263bb8d0852f98e47102ea09d4f89) -Added 'x-disable-legacy-check' in hw_compat_rhel_8_2 - -Signed-off-by: Stefano Garzarella -Signed-off-by: Danilo C. L. de Paula ---- - hw/core/machine.c | 3 +++ - hw/s390x/virtio-ccw.c | 15 ++++++++++++--- - hw/virtio/virtio-pci.c | 14 ++++++++++++-- - hw/virtio/virtio.c | 7 +++++++ - include/hw/virtio/virtio.h | 2 ++ - 5 files changed, 36 insertions(+), 5 deletions(-) - -diff --git a/hw/core/machine.c b/hw/core/machine.c -index 10fa9b8c756..86ce3af71e4 100644 ---- a/hw/core/machine.c -+++ b/hw/core/machine.c -@@ -66,6 +66,8 @@ GlobalProperty hw_compat_rhel_8_2[] = { - { "vmport", "x-report-vmx-type", "off" }, - /* hw_compat_rhel_8_2 from hw_compat_5_0 */ - { "vmport", "x-cmds-v2", "off" }, -+ /* hw_compat_rhel_8_2 from hw_compat_5_0 */ -+ { "virtio-device", "x-disable-legacy-check", "true" }, - }; - const size_t hw_compat_rhel_8_2_len = G_N_ELEMENTS(hw_compat_rhel_8_2); - -@@ -246,6 +248,7 @@ GlobalProperty hw_compat_5_0[] = { - { "vmport", "x-signal-unsupported-cmd", "off" }, - { "vmport", "x-report-vmx-type", "off" }, - { "vmport", "x-cmds-v2", "off" }, -+ { "virtio-device", "x-disable-legacy-check", "true" }, - }; - const size_t hw_compat_5_0_len = G_N_ELEMENTS(hw_compat_5_0); - -diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c -index 0e602702971..3dfc93d4f6f 100644 ---- a/hw/s390x/virtio-ccw.c -+++ b/hw/s390x/virtio-ccw.c -@@ -1122,9 +1122,18 @@ static void virtio_ccw_device_plugged(DeviceState *d, Error **errp) - } - - if (!virtio_ccw_rev_max(dev) && !virtio_legacy_allowed(vdev)) { -- error_setg(errp, "Invalid value of property max_rev " -- "(is %d expected >= 1)", virtio_ccw_rev_max(dev)); -- return; -+ /* -+ * To avoid migration issues, we allow legacy mode when legacy -+ * check is disabled in the old machine types (< 5.1). -+ */ -+ if (virtio_legacy_check_disabled(vdev)) { -+ warn_report("device requires revision >= 1, but for backward " -+ "compatibility max_revision=0 is allowed"); -+ } else { -+ error_setg(errp, "Invalid value of property max_rev " -+ "(is %d expected >= 1)", virtio_ccw_rev_max(dev)); -+ return; -+ } - } - - if (virtio_get_num_queues(vdev) > VIRTIO_QUEUE_MAX) { -diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c -index ccdf54e81c7..4211565f2c9 100644 ---- a/hw/virtio/virtio-pci.c -+++ b/hw/virtio/virtio-pci.c -@@ -1596,8 +1596,18 @@ static void virtio_pci_device_plugged(DeviceState *d, Error **errp) - - if (legacy) { - if (!virtio_legacy_allowed(vdev)) { -- error_setg(errp, "device is modern-only, use disable-legacy=on"); -- return; -+ /* -+ * To avoid migration issues, we allow legacy mode when legacy -+ * check is disabled in the old machine types (< 5.1). -+ */ -+ if (virtio_legacy_check_disabled(vdev)) { -+ warn_report("device is modern-only, but for backward " -+ "compatibility legacy is allowed"); -+ } else { -+ error_setg(errp, -+ "device is modern-only, use disable-legacy=on"); -+ return; -+ } - } - if (virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM)) { - error_setg(errp, "VIRTIO_F_IOMMU_PLATFORM was supported by" -diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c -index e9830252176..b85277da673 100644 ---- a/hw/virtio/virtio.c -+++ b/hw/virtio/virtio.c -@@ -3304,6 +3304,11 @@ bool virtio_legacy_allowed(VirtIODevice *vdev) - } - } - -+bool virtio_legacy_check_disabled(VirtIODevice *vdev) -+{ -+ return vdev->disable_legacy_check; -+} -+ - hwaddr virtio_queue_get_desc_addr(VirtIODevice *vdev, int n) - { - return vdev->vq[n].vring.desc; -@@ -3713,6 +3718,8 @@ static Property virtio_properties[] = { - DEFINE_VIRTIO_COMMON_FEATURES(VirtIODevice, host_features), - DEFINE_PROP_BOOL("use-started", VirtIODevice, use_started, true), - DEFINE_PROP_BOOL("use-disabled-flag", VirtIODevice, use_disabled_flag, true), -+ DEFINE_PROP_BOOL("x-disable-legacy-check", VirtIODevice, -+ disable_legacy_check, false), - DEFINE_PROP_END_OF_LIST(), - }; - -diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h -index e424df12cf6..c50f5a9dfe8 100644 ---- a/include/hw/virtio/virtio.h -+++ b/include/hw/virtio/virtio.h -@@ -105,6 +105,7 @@ struct VirtIODevice - bool use_started; - bool started; - bool start_on_kick; /* when virtio 1.0 feature has not been negotiated */ -+ bool disable_legacy_check; - VMChangeStateEntry *vmstate; - char *bus_name; - uint8_t device_endian; -@@ -398,5 +399,6 @@ static inline bool virtio_device_disabled(VirtIODevice *vdev) - } - - bool virtio_legacy_allowed(VirtIODevice *vdev); -+bool virtio_legacy_check_disabled(VirtIODevice *vdev); - - #endif --- -2.27.0 - diff --git a/qemu-kvm.spec b/qemu-kvm.spec index 4b53bbd..b871e53 100644 --- a/qemu-kvm.spec +++ b/qemu-kvm.spec @@ -69,7 +69,7 @@ Obsoletes: %1-rhev Summary: QEMU is a machine emulator and virtualizer Name: qemu-kvm Version: 5.1.0 -Release: 11%{?dist} +Release: 10%{?dist} # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped Epoch: 15 License: GPLv2 and GPLv2+ and CC-BY @@ -197,16 +197,6 @@ Patch63: kvm-block-rbd-add-namespace-to-qemu_rbd_strong_runtime_o.patch Patch64: kvm-hw-nvram-fw_cfg-fix-FWCfgDataGeneratorClass-get_data.patch # For bz#1877209 - 'qemu-img bitmaps --merge' failed when trying to merge top volume bitmap to base volume bitmap Patch65: kvm-qemu-img-Support-bitmap-merge-into-backing-image.patch -# For bz#1868449 - vhost_vsock error: device is modern-only, use disable-legacy=on -Patch66: kvm-virtio-skip-legacy-support-check-on-machine-types-le.patch -# For bz#1868449 - vhost_vsock error: device is modern-only, use disable-legacy=on -Patch67: kvm-vhost-vsock-pci-force-virtio-version-1.patch -# For bz#1868449 - vhost_vsock error: device is modern-only, use disable-legacy=on -Patch68: kvm-vhost-user-vsock-pci-force-virtio-version-1.patch -# For bz#1868449 - vhost_vsock error: device is modern-only, use disable-legacy=on -Patch69: kvm-vhost-vsock-ccw-force-virtio-version-1.patch -# For bz#1874004 - Live migration performance is poor during guest installation process on power host -Patch70: kvm-migration-increase-max-bandwidth-to-128-MiB-s-1-Gib-.patch BuildRequires: wget BuildRequires: rpm-build @@ -956,9 +946,9 @@ install -m 0644 %{_sourcedir}/qemu-pr-helper.socket %{buildroot}%{_unitdir} find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f -# We need to make the block device modules and other qemu SO files executable -# otherwise RPM won't pick up their dependencies. -chmod +x $RPM_BUILD_ROOT%{_libdir}/qemu-kvm/*.so +# We need to make the block device modules executable else +# RPM won't pick up their dependencies. +chmod +x $RPM_BUILD_ROOT%{_libdir}/qemu-kvm/block-*.so # Remove buildinfo rm -rf $RPM_BUILD_ROOT%{qemudocdir}/interop/.buildinfo @@ -1172,20 +1162,6 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %changelog -* Mon Oct 05 2020 Danilo Cesar Lemes de Paula - 5.1.0-11.el8_3 -- kvm-virtio-skip-legacy-support-check-on-machine-types-le.patch [bz#1868449] -- kvm-vhost-vsock-pci-force-virtio-version-1.patch [bz#1868449] -- kvm-vhost-user-vsock-pci-force-virtio-version-1.patch [bz#1868449] -- kvm-vhost-vsock-ccw-force-virtio-version-1.patch [bz#1868449] -- kvm-migration-increase-max-bandwidth-to-128-MiB-s-1-Gib-.patch [bz#1874004] -- kvm-redhat-Make-all-generated-so-files-executable-not-on.patch [bz#1876635] -- Resolves: bz#1868449 - (vhost_vsock error: device is modern-only, use disable-legacy=on) -- Resolves: bz#1874004 - (Live migration performance is poor during guest installation process on power host) -- Resolves: bz#1876635 - (VM fails to start with a passthrough smartcard) - * Mon Sep 28 2020 Danilo Cesar Lemes de Paula - 5.1.0-10.el8 - kvm-qemu-img-Support-bitmap-merge-into-backing-image.patch [bz#1877209] - Resolves: bz#1877209