3a9410
From 3c65b917f70d556fa1059b0400771c8159b8ca3b Mon Sep 17 00:00:00 2001
3a9410
Message-Id: <3c65b917f70d556fa1059b0400771c8159b8ca3b@dist-git>
3a9410
From: Boris Fiuczynski <fiuczy@linux.ibm.com>
3a9410
Date: Fri, 13 May 2022 12:31:08 +0200
3a9410
Subject: [PATCH] conf: adjust method name virDomainDeviceCCWAddressParseXML
3a9410
3a9410
Adjust method name virDomainDeviceCCWAddressParseXML to
3a9410
virCCWDeviceAddressParseXML.
3a9410
3a9410
Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
3a9410
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
3a9410
(cherry picked from commit 2d9fd19bf5d7a3d33b94e464c335252682edd623)
3a9410
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2165011
3a9410
Signed-off-by: Thomas Huth <thuth@redhat.com>
3a9410
---
3a9410
 src/conf/device_conf.c   | 4 ++--
3a9410
 src/conf/device_conf.h   | 4 ++--
3a9410
 src/conf/domain_conf.c   | 3 +--
3a9410
 src/libvirt_private.syms | 2 +-
3a9410
 4 files changed, 6 insertions(+), 7 deletions(-)
3a9410
3a9410
diff --git a/src/conf/device_conf.c b/src/conf/device_conf.c
3a9410
index 958e2f43cc..e93fd57341 100644
3a9410
--- a/src/conf/device_conf.c
3a9410
+++ b/src/conf/device_conf.c
3a9410
@@ -259,8 +259,8 @@ virPCIDeviceAddressFormat(virBuffer *buf,
3a9410
 }
3a9410
 
3a9410
 int
3a9410
-virDomainDeviceCCWAddressParseXML(xmlNodePtr node,
3a9410
-                                  virCCWDeviceAddress *addr)
3a9410
+virCCWDeviceAddressParseXML(xmlNodePtr node,
3a9410
+                            virCCWDeviceAddress *addr)
3a9410
 {
3a9410
     int cssid;
3a9410
     int ssid;
3a9410
diff --git a/src/conf/device_conf.h b/src/conf/device_conf.h
3a9410
index 01e2edccc9..910e6b7792 100644
3a9410
--- a/src/conf/device_conf.h
3a9410
+++ b/src/conf/device_conf.h
3a9410
@@ -193,8 +193,8 @@ void virPCIDeviceAddressFormat(virBuffer *buf,
3a9410
                                virPCIDeviceAddress addr,
3a9410
                                bool includeTypeInAddr);
3a9410
 
3a9410
-int virDomainDeviceCCWAddressParseXML(xmlNodePtr node,
3a9410
-                                      virCCWDeviceAddress *addr);
3a9410
+int virCCWDeviceAddressParseXML(xmlNodePtr node,
3a9410
+                                virCCWDeviceAddress *addr);
3a9410
 
3a9410
 int virDomainDeviceDriveAddressParseXML(xmlNodePtr node,
3a9410
                                         virDomainDeviceDriveAddress *addr);
3a9410
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
3a9410
index 1e1c7f01b1..401ddaa1a0 100644
3a9410
--- a/src/conf/domain_conf.c
3a9410
+++ b/src/conf/domain_conf.c
3a9410
@@ -6630,8 +6630,7 @@ virDomainDeviceAddressParseXML(xmlNodePtr address,
3a9410
         break;
3a9410
 
3a9410
     case VIR_DOMAIN_DEVICE_ADDRESS_TYPE_CCW:
3a9410
-        if (virDomainDeviceCCWAddressParseXML
3a9410
-                (address, &info->addr.ccw) < 0)
3a9410
+        if (virCCWDeviceAddressParseXML(address, &info->addr.ccw) < 0)
3a9410
             return -1;
3a9410
         break;
3a9410
 
3a9410
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
3a9410
index 0d3ee4c20a..44b551fb60 100644
3a9410
--- a/src/libvirt_private.syms
3a9410
+++ b/src/libvirt_private.syms
3a9410
@@ -124,6 +124,7 @@ virCPUModeTypeToString;
3a9410
 
3a9410
 
3a9410
 # conf/device_conf.h
3a9410
+virCCWDeviceAddressParseXML;
3a9410
 virDeviceInfoPCIAddressExtensionIsPresent;
3a9410
 virDeviceInfoPCIAddressExtensionIsWanted;
3a9410
 virDeviceInfoPCIAddressIsPresent;
3a9410
@@ -131,7 +132,6 @@ virDeviceInfoPCIAddressIsWanted;
3a9410
 virDomainDeviceAddressIsValid;
3a9410
 virDomainDeviceAddressTypeToString;
3a9410
 virDomainDeviceCcidAddressParseXML;
3a9410
-virDomainDeviceCCWAddressParseXML;
3a9410
 virDomainDeviceDriveAddressParseXML;
3a9410
 virDomainDeviceInfoAddressIsEqual;
3a9410
 virDomainDeviceSpaprVioAddressParseXML;
3a9410
-- 
3a9410
2.39.1
3a9410