yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
Blob Blame History Raw
From 86e3057c0a6ca9b032b27da95f466cc617f39685 Mon Sep 17 00:00:00 2001
From: Eric Auger <eric.auger@redhat.com>
Date: Tue, 12 Oct 2021 17:45:08 +0200
Subject: [PATCH 2/2] hw: arm: virt: Add hw_compat_rhel_8_5 to 8.5 machine type

RH-Author: Eric Auger <eric.auger@redhat.com>
RH-MergeRequest: 50: hw: arm: virt: Add hw_compat_rhel_8_5 to 8.5 machine type
RH-Commit: [1/1] 36829fd07764be52b3af52e58f6d6fce50d1d10e
RH-Bugzilla: 1998947
RH-Acked-by: Stefano Garzarella <sgarzare@redhat.com>
RH-Acked-by: Gavin Shan <gshan@redhat.com>
RH-Acked-by: Andrew Jones <drjones@redhat.com>

branch: rhel-8.6.0
upstream: no
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=40294321

Add hw_compat_rhel_8_5 to rhel8.5 virt options.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 07f9e64b23..4d1fd970fc 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -3143,6 +3143,7 @@ type_init(rhel_machine_init);
 static void rhel850_virt_options(MachineClass *mc)
 {
     compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
+    compat_props_add(mc->compat_props, hw_compat_rhel_8_5, hw_compat_rhel_8_5_len);
 }
 DEFINE_RHEL_MACHINE_AS_LATEST(8, 5, 0)
 
-- 
2.27.0