|
|
357786 |
From 7b1ad037d92201aee894afd9cc70a852721f2d9d Mon Sep 17 00:00:00 2001
|
|
|
357786 |
From: Laurent Vivier <lvivier@redhat.com>
|
|
|
357786 |
Date: Thu, 24 May 2018 14:11:45 +0200
|
|
|
357786 |
Subject: [PATCH 4/8] redhat: define pseries-rhel7.6.0 machine types
|
|
|
357786 |
|
|
|
357786 |
RH-Author: Laurent Vivier <lvivier@redhat.com>
|
|
|
357786 |
Message-id: <20180524141145.7532-3-lvivier@redhat.com>
|
|
|
357786 |
Patchwork-id: 80470
|
|
|
357786 |
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 2/2] redhat: define pseries-rhel7.6.0 machine types
|
|
|
357786 |
Bugzilla: 1557054
|
|
|
357786 |
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
357786 |
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
357786 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
357786 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
357786 |
|
|
|
357786 |
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
357786 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
357786 |
---
|
|
|
357786 |
hw/ppc/spapr.c | 26 ++++++++++++++++++++++++--
|
|
|
357786 |
1 file changed, 24 insertions(+), 2 deletions(-)
|
|
|
357786 |
|
|
|
357786 |
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
|
|
|
357786 |
index 6f005a0..e2df370 100644
|
|
|
357786 |
--- a/hw/ppc/spapr.c
|
|
|
357786 |
+++ b/hw/ppc/spapr.c
|
|
|
357786 |
@@ -4354,19 +4354,41 @@ DEFINE_SPAPR_MACHINE(2_1, "2.1", false);
|
|
|
357786 |
#endif
|
|
|
357786 |
|
|
|
357786 |
/*
|
|
|
357786 |
+ * pseries-rhel7.6.0
|
|
|
357786 |
+ */
|
|
|
357786 |
+
|
|
|
357786 |
+static void spapr_machine_rhel760_instance_options(MachineState *machine)
|
|
|
357786 |
+{
|
|
|
357786 |
+}
|
|
|
357786 |
+
|
|
|
357786 |
+static void spapr_machine_rhel760_class_options(MachineClass *mc)
|
|
|
357786 |
+{
|
|
|
357786 |
+ /* Defaults for the latest behaviour inherited from the base class */
|
|
|
357786 |
+}
|
|
|
357786 |
+
|
|
|
357786 |
+DEFINE_SPAPR_MACHINE(rhel760, "rhel7.6.0", true);
|
|
|
357786 |
+
|
|
|
357786 |
+/*
|
|
|
357786 |
* pseries-rhel7.5.0
|
|
|
357786 |
+ * like SPAPR_COMPAT_2_11 and SPAPR_COMPAT_2_10
|
|
|
357786 |
+ * SPAPR_CAP_HTM already enabled in 7.4
|
|
|
357786 |
+ *
|
|
|
357786 |
*/
|
|
|
357786 |
+#define SPAPR_COMPAT_RHEL7_5 \
|
|
|
357786 |
+ HW_COMPAT_RHEL7_5 \
|
|
|
357786 |
|
|
|
357786 |
static void spapr_machine_rhel750_instance_options(MachineState *machine)
|
|
|
357786 |
{
|
|
|
357786 |
+ spapr_machine_rhel760_instance_options(machine);
|
|
|
357786 |
}
|
|
|
357786 |
|
|
|
357786 |
static void spapr_machine_rhel750_class_options(MachineClass *mc)
|
|
|
357786 |
{
|
|
|
357786 |
- /* Defaults for the latest behaviour inherited from the base class */
|
|
|
357786 |
+ spapr_machine_rhel760_class_options(mc);
|
|
|
357786 |
+ SET_MACHINE_COMPAT(mc, SPAPR_COMPAT_RHEL7_5);
|
|
|
357786 |
}
|
|
|
357786 |
|
|
|
357786 |
-DEFINE_SPAPR_MACHINE(rhel750, "rhel7.5.0", true);
|
|
|
357786 |
+DEFINE_SPAPR_MACHINE(rhel750, "rhel7.5.0", false);
|
|
|
357786 |
|
|
|
357786 |
/*
|
|
|
357786 |
* pseries-rhel7.5.0-sxxm
|
|
|
357786 |
--
|
|
|
357786 |
1.8.3.1
|
|
|
357786 |
|