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