Blame SOURCES/kvm-arm-virt-Add-RHEL-7.5-machine-type.patch

9bac43
From 082bd3ba3df66c556def600e0a9b4b451e106290 Mon Sep 17 00:00:00 2001
9bac43
From: Wei Huang <wei@redhat.com>
9bac43
Date: Tue, 17 Oct 2017 16:39:11 +0200
9bac43
Subject: [PATCH 21/69] arm/virt: Add RHEL 7.5 machine type
9bac43
9bac43
RH-Author: Wei Huang <wei@redhat.com>
9bac43
Message-id: <1508258351-22962-1-git-send-email-wei@redhat.com>
9bac43
Patchwork-id: 77308
9bac43
O-Subject: [RHEL-7.5 qemu-kvm-rhev PATCH 1/1] arm/virt: Add RHEL 7.5 machine type
9bac43
Bugzilla: 1498662
9bac43
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
9bac43
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
9bac43
RH-Acked-by: Andrew Jones <drjones@redhat.com>
9bac43
9bac43
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1498662
9bac43
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14281054
9bac43
Brew-ma: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14280994
9bac43
Upstream: No, downstream only
9bac43
9bac43
This patch adds a new machine type, virt-rhel7.5.0, for AArch64. Note
9bac43
the existing 7.4 machine type, virt-rhel7.4.0, is removed in this patch
9bac43
because RHEL 7.4 for ARM was as a development preview. So we decided
9bac43
that it is unnecessary to support the 7.4 machine type.
9bac43
9bac43
After applying this patch, the machine type list ("-M ?") is shown as
9bac43
the following:
9bac43
9bac43
virt                 RHEL 7.5.0 ARM Virtual Machine (alias of virt-rhel7.5.0)
9bac43
virt-rhel7.5.0       RHEL 7.5.0 ARM Virtual Machine (default)
9bac43
none                 empty machine
9bac43
9bac43
Signed-off-by: Wei Huang <wei@redhat.com>
9bac43
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9bac43
---
9bac43
 hw/arm/virt.c | 6 +++---
9bac43
 1 file changed, 3 insertions(+), 3 deletions(-)
9bac43
9bac43
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
9bac43
index b14e16d..f243536 100644
9bac43
--- a/hw/arm/virt.c
9bac43
+++ b/hw/arm/virt.c
9bac43
@@ -1851,7 +1851,7 @@ static void rhel_machine_init(void)
9bac43
 }
9bac43
 type_init(rhel_machine_init);
9bac43
 
9bac43
-static void rhel740_virt_instance_init(Object *obj)
9bac43
+static void rhel750_virt_instance_init(Object *obj)
9bac43
 {
9bac43
     VirtMachineState *vms = VIRT_MACHINE(obj);
9bac43
     VirtMachineClass *vmc = VIRT_MACHINE_GET_CLASS(vms);
9bac43
@@ -1893,8 +1893,8 @@ static void rhel740_virt_instance_init(Object *obj)
9bac43
     vms->irqmap=a15irqmap;
9bac43
 }
9bac43
 
9bac43
-static void rhel740_virt_options(MachineClass *mc)
9bac43
+static void rhel750_virt_options(MachineClass *mc)
9bac43
 {
9bac43
     SET_MACHINE_COMPAT(mc, ARM_RHEL_COMPAT);
9bac43
 }
9bac43
-DEFINE_RHEL_MACHINE_AS_LATEST(7, 4, 0)
9bac43
+DEFINE_RHEL_MACHINE_AS_LATEST(7, 5, 0)
9bac43
-- 
9bac43
1.8.3.1
9bac43