Blame SOURCES/kvm-redhat-Add-s390x-machine-type-compatibility-update-f.patch

77609c
From 9b72a86292fb2c34d7be7b928ac06f2609de0f43 Mon Sep 17 00:00:00 2001
77609c
From: Thomas Huth <thuth@redhat.com>
77609c
Date: Thu, 30 Sep 2021 09:25:23 +0200
77609c
Subject: [PATCH 2/2] redhat: Add s390x machine type compatibility update for
77609c
 6.1 rebase
77609c
MIME-Version: 1.0
77609c
Content-Type: text/plain; charset=UTF-8
77609c
Content-Transfer-Encoding: 8bit
77609c
77609c
RH-Author: Thomas Huth <thuth@redhat.com>
77609c
RH-MergeRequest: 45: Add s390x machine type compatibility update for 6.1 rebase
77609c
RH-Commit: [2/2] 6f71801ac2d77b82b010eac46cd82cd74c53f246 (thuth/qemu-kvm-cs9)
77609c
RH-Bugzilla: 1998943
77609c
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
77609c
RH-Acked-by: Daniel P. Berrangé <berrange@redhat.com>
77609c
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
77609c
RH-Acked-by: David Hildenbrand <david@redhat.com>
77609c
77609c
Add hw_compat_rhel_8_5 for the s390-ccw-virtio-rhel8.5.0 machine
77609c
type. It's currently not urgently required, since hw_compat_rhel_8_5
77609c
only contains entries that are not related to s390x, but just in
77609c
case some other entries are added there later, it's better if we
77609c
add this right from the start to the s390x machine, too.
77609c
77609c
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1998943
77609c
Signed-off-by: Thomas Huth <thuth@redhat.com>
77609c
---
77609c
 hw/s390x/s390-virtio-ccw.c | 1 +
77609c
 1 file changed, 1 insertion(+)
77609c
77609c
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
77609c
index 9a51dd8de2..4ee8d266ec 100644
77609c
--- a/hw/s390x/s390-virtio-ccw.c
77609c
+++ b/hw/s390x/s390-virtio-ccw.c
77609c
@@ -1091,6 +1091,7 @@ static void ccw_machine_rhel850_instance_options(MachineState *machine)
77609c
 
77609c
 static void ccw_machine_rhel850_class_options(MachineClass *mc)
77609c
 {
77609c
+    compat_props_add(mc->compat_props, hw_compat_rhel_8_5, hw_compat_rhel_8_5_len);
77609c
 }
77609c
 DEFINE_CCW_MACHINE(rhel850, "rhel8.5.0", true);
77609c
 
77609c
-- 
77609c
2.27.0
77609c