cryptospore / rpms / qemu-kvm

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