|
|
60061b |
From ce73e939b993cc6be170cdb5d3f2068270593f2b Mon Sep 17 00:00:00 2001
|
|
|
60061b |
From: Eric Auger <eric.auger@redhat.com>
|
|
|
60061b |
Date: Tue, 16 Nov 2021 17:03:07 +0100
|
|
|
60061b |
Subject: redhat: virt-rhel8.5.0: Update machine type compatibility for QEMU
|
|
|
60061b |
6.2.0 update
|
|
|
60061b |
|
|
|
60061b |
RH-Author: Eric Auger <eric.auger@redhat.com>
|
|
|
60061b |
RH-MergeRequest: 75: redhat: virt-rhel8.5.0: Update machine type compatibility for QEMU 6.2.0 update
|
|
|
60061b |
RH-Commit: [21/21] f027d13654944e3d34e3356affe7af952eec2bed
|
|
|
60061b |
RH-Bugzilla: 2022607
|
|
|
60061b |
RH-Acked-by: Gavin Shan <gshan@redhat.com>
|
|
|
60061b |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
60061b |
RH-Acked-by: Andrew Jones <drjones@redhat.com>
|
|
|
60061b |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
60061b |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
60061b |
|
|
|
60061b |
To keep compatibility with 8.5-AV machine type we need to
|
|
|
60061b |
turn few new options on by default:
|
|
|
60061b |
smp_props.prefer_sockets, no_cpu_topology, no_tcg_its
|
|
|
60061b |
|
|
|
60061b |
TESTED: migrate from rhel-av-8.5.0 to rhel-8.6.0 and vice-versa
|
|
|
60061b |
with upstream fix: 33a0c404fb hw/intc/arm_gicv3_its: Revert version
|
|
|
60061b |
increments in vmstate_its
|
|
|
60061b |
|
|
|
60061b |
Signed-off-by: Eric Auger <eric.auger@redhat.com>
|
|
|
60061b |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
60061b |
---
|
|
|
60061b |
hw/arm/virt.c | 5 +++++
|
|
|
60061b |
1 file changed, 5 insertions(+)
|
|
|
60061b |
|
|
|
60061b |
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
|
|
|
60061b |
index c77d26ab13..e8941afd01 100644
|
|
|
60061b |
--- a/hw/arm/virt.c
|
|
|
60061b |
+++ b/hw/arm/virt.c
|
|
|
60061b |
@@ -3225,8 +3225,13 @@ type_init(rhel_machine_init);
|
|
|
60061b |
|
|
|
60061b |
static void rhel850_virt_options(MachineClass *mc)
|
|
|
60061b |
{
|
|
|
60061b |
+ VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc));
|
|
|
60061b |
+
|
|
|
60061b |
compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
|
|
|
60061b |
compat_props_add(mc->compat_props, hw_compat_rhel_8_5, hw_compat_rhel_8_5_len);
|
|
|
60061b |
+ mc->smp_props.prefer_sockets = true;
|
|
|
60061b |
+ vmc->no_cpu_topology = true;
|
|
|
60061b |
+ vmc->no_tcg_its = true;
|
|
|
60061b |
}
|
|
|
60061b |
DEFINE_RHEL_MACHINE_AS_LATEST(8, 5, 0)
|
|
|
60061b |
|
|
|
60061b |
--
|
|
|
60061b |
2.27.0
|
|
|
60061b |
|