[PATCH 3/4] qemu: hostdev: Unify naming for qemuUpdateActiveHost*Devices()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No functional changes.
---
 src/qemu/qemu_hostdev.c | 12 ++++++------
 src/qemu/qemu_hostdev.h | 12 ++++++------
 src/qemu/qemu_process.c |  6 +++---
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu_hostdev.c
index ec708c8..d395271 100644
--- a/src/qemu/qemu_hostdev.c
+++ b/src/qemu/qemu_hostdev.c
@@ -45,8 +45,8 @@ VIR_LOG_INIT("qemu.qemu_hostdev");
 
 
 int
-qemuUpdateActivePCIHostdevs(virQEMUDriverPtr driver,
-                            virDomainDefPtr def)
+qemuUpdateActiveHostPCIDevices(virQEMUDriverPtr driver,
+                               virDomainDefPtr def)
 {
     virHostdevManagerPtr mgr = driver->hostdevMgr;
 
@@ -58,8 +58,8 @@ qemuUpdateActivePCIHostdevs(virQEMUDriverPtr driver,
 }
 
 int
-qemuUpdateActiveUSBHostdevs(virQEMUDriverPtr driver,
-                            virDomainDefPtr def)
+qemuUpdateActiveHostUSBDevices(virQEMUDriverPtr driver,
+                               virDomainDefPtr def)
 {
     virHostdevManagerPtr mgr = driver->hostdevMgr;
 
@@ -71,8 +71,8 @@ qemuUpdateActiveUSBHostdevs(virQEMUDriverPtr driver,
 }
 
 int
-qemuUpdateActiveSCSIHostdevs(virQEMUDriverPtr driver,
-                             virDomainDefPtr def)
+qemuUpdateActiveHostSCSIDevices(virQEMUDriverPtr driver,
+                                virDomainDefPtr def)
 {
     virHostdevManagerPtr mgr = driver->hostdevMgr;
 
diff --git a/src/qemu/qemu_hostdev.h b/src/qemu/qemu_hostdev.h
index 156ffdd..3565a44 100644
--- a/src/qemu/qemu_hostdev.h
+++ b/src/qemu/qemu_hostdev.h
@@ -27,12 +27,12 @@
 # include "qemu_conf.h"
 # include "domain_conf.h"
 
-int qemuUpdateActivePCIHostdevs(virQEMUDriverPtr driver,
-                                virDomainDefPtr def);
-int qemuUpdateActiveUSBHostdevs(virQEMUDriverPtr driver,
-                                virDomainDefPtr def);
-int qemuUpdateActiveSCSIHostdevs(virQEMUDriverPtr driver,
-                                 virDomainDefPtr def);
+int qemuUpdateActiveHostPCIDevices(virQEMUDriverPtr driver,
+                                   virDomainDefPtr def);
+int qemuUpdateActiveHostUSBDevices(virQEMUDriverPtr driver,
+                                   virDomainDefPtr def);
+int qemuUpdateActiveHostSCSIDevices(virQEMUDriverPtr driver,
+                                    virDomainDefPtr def);
 bool qemuHostdevHostSupportsPassthroughLegacy(void);
 bool qemuHostdevHostSupportsPassthroughVFIO(void);
 int qemuPrepareHostPCIDevices(virQEMUDriverPtr driver,
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 07e41f0..899f634 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -3769,13 +3769,13 @@ qemuProcessReconnect(void *opaque)
         priv->agentError = true;
     }
 
-    if (qemuUpdateActivePCIHostdevs(driver, obj->def) < 0)
+    if (qemuUpdateActiveHostPCIDevices(driver, obj->def) < 0)
         goto error;
 
-    if (qemuUpdateActiveUSBHostdevs(driver, obj->def) < 0)
+    if (qemuUpdateActiveHostUSBDevices(driver, obj->def) < 0)
         goto error;
 
-    if (qemuUpdateActiveSCSIHostdevs(driver, obj->def) < 0)
+    if (qemuUpdateActiveHostSCSIDevices(driver, obj->def) < 0)
         goto error;
 
     if (qemuConnectCgroup(driver, obj) < 0)
-- 
2.4.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]