yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-hw-arm-virt-Rename-default_bus_bypass_iommu.patch

8b0a28
From 94987c271c3bdc37216c5baa4c5766b9b7f053a1 Mon Sep 17 00:00:00 2001
8b0a28
From: Eric Auger <eric.auger@redhat.com>
8b0a28
Date: Mon, 20 Dec 2021 15:58:38 +0100
8b0a28
Subject: [PATCH 3/6] hw/arm/virt: Rename default_bus_bypass_iommu
8b0a28
8b0a28
RH-Author: Eric Auger <eric.auger@redhat.com>
8b0a28
RH-MergeRequest: 57: hw/arm/virt: Add 9.0 machine type and remove 8.5 one
8b0a28
RH-Commit: [3/6] 6b66844ae4629d8c879f7c6abbc5e5017a162e16 (eauger1/centos-qemu-kvm)
8b0a28
RH-Bugzilla: 2031044
8b0a28
RH-Acked-by: Gavin Shan <gshan@redhat.com>
8b0a28
RH-Acked-by: Andrew Jones <drjones@redhat.com>
8b0a28
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
8b0a28
8b0a28
branch: c9s
8b0a28
Brew: 42213566
8b0a28
Upstream: no
8b0a28
8b0a28
Rename "default_bus_bypass_iommu" into "default-bus-bypass-iommu".
8b0a28
This mirrors what was done in upstream commit:
8b0a28
9dad363a223 ("hw/arm/virt: Rename default_bus_bypass_iommu")
8b0a28
8b0a28
Signed-off-by: Eric Auger <eric.auger@redhat.com>
8b0a28
---
8b0a28
 hw/arm/virt.c | 4 ++--
8b0a28
 1 file changed, 2 insertions(+), 2 deletions(-)
8b0a28
8b0a28
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
8b0a28
index 984151b7dd..c99ca93e75 100644
8b0a28
--- a/hw/arm/virt.c
8b0a28
+++ b/hw/arm/virt.c
8b0a28
@@ -3136,10 +3136,10 @@ static void rhel_machine_class_init(ObjectClass *oc, void *data)
8b0a28
                                           "Set the IOMMU type. "
8b0a28
                                           "Valid values are none and smmuv3");
8b0a28
 
8b0a28
-    object_class_property_add_bool(oc, "default_bus_bypass_iommu",
8b0a28
+    object_class_property_add_bool(oc, "default-bus-bypass-iommu",
8b0a28
                                    virt_get_default_bus_bypass_iommu,
8b0a28
                                    virt_set_default_bus_bypass_iommu);
8b0a28
-    object_class_property_set_description(oc, "default_bus_bypass_iommu",
8b0a28
+    object_class_property_set_description(oc, "default-bus-bypass-iommu",
8b0a28
                                           "Set on/off to enable/disable "
8b0a28
                                           "bypass_iommu for default root bus");
8b0a28
 
8b0a28
-- 
8b0a28
2.27.0
8b0a28