|
|
7f1c5b |
From c1a21266d8bed27f1ef1f705818fde5f9350b73f Mon Sep 17 00:00:00 2001
|
|
|
7f1c5b |
From: Cornelia Huck <cohuck@redhat.com>
|
|
|
7f1c5b |
Date: Wed, 23 Nov 2022 14:15:37 +0100
|
|
|
7f1c5b |
Subject: redhat: aarch64: add rhel9.2.0 virt machine type
|
|
|
7f1c5b |
|
|
|
7f1c5b |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2131982
|
|
|
7f1c5b |
Upstream: RHEL only
|
|
|
7f1c5b |
|
|
|
7f1c5b |
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
7f1c5b |
---
|
|
|
7f1c5b |
hw/arm/virt.c | 9 ++++++++-
|
|
|
7f1c5b |
1 file changed, 8 insertions(+), 1 deletion(-)
|
|
|
7f1c5b |
|
|
|
7f1c5b |
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
|
|
|
7f1c5b |
index dfcab40a73..0a94f31dd1 100644
|
|
|
7f1c5b |
--- a/hw/arm/virt.c
|
|
|
7f1c5b |
+++ b/hw/arm/virt.c
|
|
|
7f1c5b |
@@ -3518,14 +3518,21 @@ static void rhel_machine_init(void)
|
|
|
7f1c5b |
}
|
|
|
7f1c5b |
type_init(rhel_machine_init);
|
|
|
7f1c5b |
|
|
|
7f1c5b |
+static void rhel920_virt_options(MachineClass *mc)
|
|
|
7f1c5b |
+{
|
|
|
7f1c5b |
+}
|
|
|
7f1c5b |
+DEFINE_RHEL_MACHINE_AS_LATEST(9, 2, 0)
|
|
|
7f1c5b |
+
|
|
|
7f1c5b |
static void rhel900_virt_options(MachineClass *mc)
|
|
|
7f1c5b |
{
|
|
|
7f1c5b |
VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc));
|
|
|
7f1c5b |
|
|
|
7f1c5b |
+ rhel920_virt_options(mc);
|
|
|
7f1c5b |
+
|
|
|
7f1c5b |
compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
|
|
|
7f1c5b |
compat_props_add(mc->compat_props, hw_compat_rhel_9_1, hw_compat_rhel_9_1_len);
|
|
|
7f1c5b |
|
|
|
7f1c5b |
/* Disable FEAT_LPA2 since old kernels (<= v5.12) don't boot with that feature */
|
|
|
7f1c5b |
vmc->no_tcg_lpa2 = true;
|
|
|
7f1c5b |
}
|
|
|
7f1c5b |
-DEFINE_RHEL_MACHINE_AS_LATEST(9, 0, 0)
|
|
|
7f1c5b |
+DEFINE_RHEL_MACHINE(9, 0, 0)
|
|
|
7f1c5b |
--
|
|
|
7f1c5b |
2.31.1
|
|
|
7f1c5b |
|