Blame SOURCES/kvm-AArch64-Add-virt-rhel7.6-machine-type.patch

383d26
From a35c8f28c25c62d5b371a77156a5b810fa6455da Mon Sep 17 00:00:00 2001
383d26
From: Wei Huang <wei@redhat.com>
383d26
Date: Wed, 28 Mar 2018 18:58:55 +0200
383d26
Subject: [PATCH 01/13] AArch64: Add virt-rhel7.6 machine type
383d26
383d26
RH-Author: Wei Huang <wei@redhat.com>
383d26
Message-id: <20180328185856.20056-2-wei@redhat.com>
383d26
Patchwork-id: 79427
383d26
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 1/2] AArch64: Add virt-rhel7.6 machine type
383d26
Bugzilla: 1558723
383d26
RH-Acked-by: Andrew Jones <drjones@redhat.com>
383d26
RH-Acked-by: Auger Eric <eric.auger@redhat.com>
383d26
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
383d26
383d26
This patch adds "virt-rhel7.6" machine type. Because RHEL 7.5 virt-arm
383d26
was a preview product, we remove the "virt-rhel7.5" type to avoid the
383d26
legacy support burden.
383d26
383d26
Signed-off-by: Wei Huang <wei@redhat.com>
383d26
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
383d26
---
383d26
 hw/arm/virt.c | 6 +++---
383d26
 1 file changed, 3 insertions(+), 3 deletions(-)
383d26
383d26
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
383d26
index 806eb1e..a4d0f52 100644
383d26
--- a/hw/arm/virt.c
383d26
+++ b/hw/arm/virt.c
383d26
@@ -1820,7 +1820,7 @@ static void rhel_machine_init(void)
383d26
 }
383d26
 type_init(rhel_machine_init);
383d26
 
383d26
-static void rhel750_virt_instance_init(Object *obj)
383d26
+static void rhel760_virt_instance_init(Object *obj)
383d26
 {
383d26
     VirtMachineState *vms = VIRT_MACHINE(obj);
383d26
     VirtMachineClass *vmc = VIRT_MACHINE_GET_CLASS(vms);
383d26
@@ -1862,8 +1862,8 @@ static void rhel750_virt_instance_init(Object *obj)
383d26
     vms->irqmap=a15irqmap;
383d26
 }
383d26
 
383d26
-static void rhel750_virt_options(MachineClass *mc)
383d26
+static void rhel760_virt_options(MachineClass *mc)
383d26
 {
383d26
     SET_MACHINE_COMPAT(mc, ARM_RHEL_COMPAT);
383d26
 }
383d26
-DEFINE_RHEL_MACHINE_AS_LATEST(7, 5, 0)
383d26
+DEFINE_RHEL_MACHINE_AS_LATEST(7, 6, 0)
383d26
-- 
383d26
1.8.3.1
383d26