thebeanogamer / rpms / qemu-kvm

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