38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
|
From d27437e5baba347cb3392280399d402414dcb21c Mon Sep 17 00:00:00 2001
|
||
|
From: Thomas Huth <thuth@redhat.com>
|
||
|
Date: Mon, 26 Aug 2024 14:27:49 +0200
|
||
|
Subject: redhat: Add QEMU 9.1 compat handling to the s390x machine types
|
||
|
|
||
|
JIRA: https://issues.redhat.com/browse/RHEL-52319
|
||
|
|
||
|
Upstream changed the amount of information that is migrated for
|
||
|
the S390 interrupt controller (FLIC), so we have to switch on
|
||
|
a compatibility property for older machine types.
|
||
|
|
||
|
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
||
|
---
|
||
|
hw/s390x/s390-virtio-ccw.c | 5 +++++
|
||
|
1 file changed, 5 insertions(+)
|
||
|
|
||
|
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
|
||
|
index 5db5fed1bf..feef81ed8b 100644
|
||
|
--- a/hw/s390x/s390-virtio-ccw.c
|
||
|
+++ b/hw/s390x/s390-virtio-ccw.c
|
||
|
@@ -1316,8 +1316,13 @@ static void ccw_rhel_machine_9_4_0_instance_options(MachineState *machine)
|
||
|
|
||
|
static void ccw_rhel_machine_9_4_0_class_options(MachineClass *mc)
|
||
|
{
|
||
|
+ static GlobalProperty compat[] = {
|
||
|
+ { TYPE_QEMU_S390_FLIC, "migrate-all-state", "off", },
|
||
|
+ };
|
||
|
+
|
||
|
compat_props_add(mc->compat_props, hw_compat_rhel_10_0, hw_compat_rhel_10_0_len);
|
||
|
compat_props_add(mc->compat_props, hw_compat_rhel_9_5, hw_compat_rhel_9_5_len);
|
||
|
+ compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat));
|
||
|
}
|
||
|
DEFINE_CCW_MACHINE_AS_LATEST(9, 4, 0);
|
||
|
|
||
|
--
|
||
|
2.39.3
|
||
|
|