1744d66d6e
- kvm-pc-7.5-compat-entries.patch [bz#1655820] - kvm-compat-Generic-HW_COMPAT_RHEL7_6.patch [bz#1655820] - kvm-pc-PC_RHEL7_6_COMPAT.patch [bz#1655820] - kvm-pc-Add-compat-for-pc-i440fx-rhel7.6.0-machine-type.patch [bz#1655820] - kvm-pc-Add-pc-q35-8.0.0-machine-type.patch [bz#1655820] - kvm-pc-Add-x-migrate-smi-count-off-to-PC_RHEL7_6_COMPAT.patch [bz#1655820] - kvm-clear-out-KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT-for.patch [bz#1659604] - kvm-Add-edk2-Requires-to-qemu-kvm.patch [bz#1660208] - Resolves: bz#1655820 (Can't migarate between rhel8 and rhel7 when guest has device "video") - Resolves: bz#1659604 (8->7 migration failed: qemu-kvm: error: failed to set MSR 0x4b564d02 to 0x27fc13285) - Resolves: bz#1660208 (qemu-kvm: Should depend on the architecture-appropriate guest firmware)
74 lines
2.4 KiB
Diff
74 lines
2.4 KiB
Diff
From b9db46a8df4b0eb25bf71205b188b903ff61936c Mon Sep 17 00:00:00 2001
|
|
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
|
Date: Fri, 14 Dec 2018 17:02:10 +0000
|
|
Subject: [PATCH 5/8] pc: Add pc-q35-8.0.0 machine type
|
|
|
|
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
Message-id: <20181214170211.14267-6-dgilbert@redhat.com>
|
|
Patchwork-id: 83518
|
|
O-Subject: [RHEL8 qemu-kvm PATCH v3 5/6] pc: Add pc-q35-8.0.0 machine type
|
|
Bugzilla: 1655820
|
|
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
|
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
|
|
|
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
---
|
|
hw/i386/pc_q35.c | 22 +++++++++++++++++++---
|
|
1 file changed, 19 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
|
|
index 163546e..0b7223f 100644
|
|
--- a/hw/i386/pc_q35.c
|
|
+++ b/hw/i386/pc_q35.c
|
|
@@ -431,8 +431,8 @@ DEFINE_Q35_MACHINE(v2_4, "pc-q35-2.4", NULL,
|
|
|
|
/* Red Hat Enterprise Linux machine types */
|
|
|
|
-/* Options for the latest rhel7 q35 machine type */
|
|
-static void pc_q35_machine_rhel7_options(MachineClass *m)
|
|
+/* Options for the latest rhel q35 machine type */
|
|
+static void pc_q35_machine_rhel_options(MachineClass *m)
|
|
{
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
pcmc->default_nic_model = "e1000e";
|
|
@@ -446,6 +446,20 @@ static void pc_q35_machine_rhel7_options(MachineClass *m)
|
|
SET_MACHINE_COMPAT(m, PC_RHEL_COMPAT);
|
|
}
|
|
|
|
+static void pc_q35_init_rhel800(MachineState *machine)
|
|
+{
|
|
+ pc_q35_init(machine);
|
|
+}
|
|
+
|
|
+static void pc_q35_machine_rhel800_options(MachineClass *m)
|
|
+{
|
|
+ pc_q35_machine_rhel_options(m);
|
|
+ m->desc = "RHEL-8.0.0 PC (Q35 + ICH9, 2009)";
|
|
+}
|
|
+
|
|
+DEFINE_PC_MACHINE(q35_rhel800, "pc-q35-rhel8.0.0", pc_q35_init_rhel800,
|
|
+ pc_q35_machine_rhel800_options);
|
|
+
|
|
static void pc_q35_init_rhel760(MachineState *machine)
|
|
{
|
|
pc_q35_init(machine);
|
|
@@ -453,8 +467,10 @@ static void pc_q35_init_rhel760(MachineState *machine)
|
|
|
|
static void pc_q35_machine_rhel760_options(MachineClass *m)
|
|
{
|
|
- pc_q35_machine_rhel7_options(m);
|
|
+ pc_q35_machine_rhel800_options(m);
|
|
+ m->alias = NULL;
|
|
m->desc = "RHEL-7.6.0 PC (Q35 + ICH9, 2009)";
|
|
+ SET_MACHINE_COMPAT(m, PC_RHEL7_6_COMPAT);
|
|
}
|
|
|
|
DEFINE_PC_MACHINE(q35_rhel760, "pc-q35-rhel7.6.0", pc_q35_init_rhel760,
|
|
--
|
|
1.8.3.1
|
|
|