[PATCH v3 04/10] qemu: Make qemuBuildHubDevStr global

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

 



Make function qemuBuildHubDevStr global for reuse on hub hotplug.

Signed-off-by: Han Han <hhan@xxxxxxxxxx>
---
 src/qemu/qemu_command.c | 2 +-
 src/qemu/qemu_command.h | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index f59cbf559e..508f1b4477 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -4675,7 +4675,7 @@ qemuBuildUSBHostdevDevStr(const virDomainDef *def,
 }
 
 
-static char *
+char *
 qemuBuildHubDevStr(const virDomainDef *def,
                    virDomainHubDefPtr dev,
                    virQEMUCapsPtr qemuCaps)
diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h
index 98d4ac90b5..e1e4e56bc3 100644
--- a/src/qemu/qemu_command.h
+++ b/src/qemu/qemu_command.h
@@ -174,6 +174,10 @@ char *qemuBuildRedirdevDevStr(const virDomainDef *def,
                               virDomainRedirdevDefPtr dev,
                               virQEMUCapsPtr qemuCaps);
 
+char *qemuBuildHubDevStr(const virDomainDef *def,
+                         virDomainHubDefPtr dev,
+                         virQEMUCapsPtr qemuCaps);
+
 int qemuNetworkPrepareDevices(virDomainDefPtr def);
 
 int qemuGetDriveSourceString(virStorageSourcePtr src,
-- 
2.19.1

--
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]

  Powered by Linux