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

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