yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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