thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
ed5979
From 546e4213c4e8a7b2e369315a71bc9aec091eed6e Mon Sep 17 00:00:00 2001
ed5979
From: Cornelia Huck <cohuck@redhat.com>
ed5979
Date: Mon, 19 Dec 2022 10:30:26 +0100
ed5979
Subject: redhat: fix virt-rhel9.2.0 compat props
ed5979
ed5979
RH-Author: Cornelia Huck <cohuck@redhat.com>
ed5979
RH-MergeRequest: 127: redhat: fix virt-rhel9.2.0 compat props
ed5979
RH-Bugzilla: 2154640
ed5979
RH-Acked-by: Eric Auger <eric.auger@redhat.com>
ed5979
RH-Acked-by: Gavin Shan <gshan@redhat.com>
ed5979
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
ed5979
RH-Commit: [1/1] 49635fdc1d9a934ece78abd160b07c19909f876a (cohuck/qemu-kvm-c9s)
ed5979
ed5979
We need to include arm_rhel_compat props in the latest machine.
ed5979
ed5979
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
ed5979
---
ed5979
 hw/arm/virt.c | 2 +-
ed5979
 1 file changed, 1 insertion(+), 1 deletion(-)
ed5979
ed5979
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
ed5979
index 0a94f31dd1..bf18838b87 100644
ed5979
--- a/hw/arm/virt.c
ed5979
+++ b/hw/arm/virt.c
ed5979
@@ -3520,6 +3520,7 @@ type_init(rhel_machine_init);
ed5979
 
ed5979
 static void rhel920_virt_options(MachineClass *mc)
ed5979
 {
ed5979
+    compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
ed5979
 }
ed5979
 DEFINE_RHEL_MACHINE_AS_LATEST(9, 2, 0)
ed5979
 
ed5979
@@ -3529,7 +3530,6 @@ static void rhel900_virt_options(MachineClass *mc)
ed5979
 
ed5979
     rhel920_virt_options(mc);
ed5979
 
ed5979
-    compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
ed5979
     compat_props_add(mc->compat_props, hw_compat_rhel_9_1, hw_compat_rhel_9_1_len);
ed5979
 
ed5979
     /* Disable FEAT_LPA2 since old kernels (<= v5.12) don't boot with that feature */
ed5979
-- 
ed5979
2.38.1
ed5979