yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-redhat-add-missing-entries-in-hw_compat_rhel_8_4.patch

a83cc2
From 8be260b07df50891463e6efbd45f84b1b8323983 Mon Sep 17 00:00:00 2001
a83cc2
From: Greg Kurz <gkurz@redhat.com>
a83cc2
Date: Mon, 10 May 2021 15:37:39 -0400
a83cc2
Subject: [PATCH 07/15] redhat: add missing entries in hw_compat_rhel_8_4
a83cc2
a83cc2
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
RH-MergeRequest: 5: Synchronize RHEL-AV 8.5 release 18 to RHEL 9 Beta
a83cc2
RH-Commit: [2/12] 69b6e4dff872478b6d0b09b2587f55967e1c9740 (mrezanin/centos-src-qemu-kvm)
a83cc2
RH-Bugzilla: 1957194
a83cc2
RH-Acked-by: Danilo Cesar Lemes de Paula <ddepaula@redhat.com>
a83cc2
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
a83cc2
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
a83cc2
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
a83cc2
a83cc2
Some entries from hw_compat_5_2 were missing.
a83cc2
a83cc2
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
a83cc2
Signed-off-by: Greg Kurz <gkurz@redhat.com>
a83cc2
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
a83cc2
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
---
a83cc2
 hw/core/machine.c | 4 ++++
a83cc2
 1 file changed, 4 insertions(+)
a83cc2
a83cc2
diff --git a/hw/core/machine.c b/hw/core/machine.c
a83cc2
index 848e7fdff6..c665e869de 100644
a83cc2
--- a/hw/core/machine.c
a83cc2
+++ b/hw/core/machine.c
a83cc2
@@ -44,6 +44,10 @@ GlobalProperty hw_compat_rhel_8_4[] = {
a83cc2
     { "ICH9-LPC", "smm-compat", "on"},
a83cc2
     /* hw_compat_rhel_8_4 from hw_compat_5_2 */
a83cc2
     { "PIIX4_PM", "smm-compat", "on"},
a83cc2
+    /* hw_compat_rhel_8_4 from hw_compat_5_2 */
a83cc2
+    { "virtio-blk-device", "report-discard-granularity", "off" },
a83cc2
+    /* hw_compat_rhel_8_4 from hw_compat_5_2 */
a83cc2
+    { "virtio-net-pci", "vectors", "3"},
a83cc2
 };
a83cc2
 const size_t hw_compat_rhel_8_4_len = G_N_ELEMENTS(hw_compat_rhel_8_4);
a83cc2
 
a83cc2
-- 
a83cc2
2.27.0
a83cc2