[PATCH 08/11] qemu: domain: Export qemuDomainPrepareStorageSourceBlockdev

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

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_domain.c | 9 +--------
 src/qemu/qemu_domain.h | 5 +++++
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 6225ac23e2..79f18a6a7c 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -135,13 +135,6 @@ static void qemuDomainLogContextDispose(void *obj);
 static void qemuDomainSaveCookieDispose(void *obj);


-static int
-qemuDomainPrepareStorageSourceBlockdev(virDomainDiskDefPtr disk,
-                                       virStorageSourcePtr src,
-                                       qemuDomainObjPrivatePtr priv,
-                                       virQEMUDriverConfigPtr cfg);
-
-
 static int
 qemuDomainOnceInit(void)
 {
@@ -14146,7 +14139,7 @@ qemuDomainPrepareDiskSourceLegacy(virDomainDiskDefPtr disk,
 }


-static int
+int
 qemuDomainPrepareStorageSourceBlockdev(virDomainDiskDefPtr disk,
                                        virStorageSourcePtr src,
                                        qemuDomainObjPrivatePtr priv,
diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h
index 3eea8b0f96..c684b4cad9 100644
--- a/src/qemu/qemu_domain.h
+++ b/src/qemu/qemu_domain.h
@@ -810,6 +810,11 @@ int qemuDomainStorageSourceAccessAllow(virQEMUDriverPtr driver,
                                        bool readonly,
                                        bool newSource);

+int qemuDomainPrepareStorageSourceBlockdev(virDomainDiskDefPtr disk,
+                                           virStorageSourcePtr src,
+                                           qemuDomainObjPrivatePtr priv,
+                                           virQEMUDriverConfigPtr cfg);
+
 int qemuDomainCleanupAdd(virDomainObjPtr vm,
                          qemuDomainCleanupCallback cb);
 void qemuDomainCleanupRemove(virDomainObjPtr vm,
-- 
2.21.0

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