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

[libvirt] [PATCH v7 3/6] qemu: Need to use qemuProcessShutdownOrReboot(), so we defined it at qemu_process.h



---
 src/qemu/qemu_process.c | 2 +-
 src/qemu/qemu_process.h | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 7a1535e..163bd96 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -611,7 +611,7 @@ cleanup:
 }
 
 
-static void
+void
 qemuProcessShutdownOrReboot(virQEMUDriverPtr driver,
                             virDomainObjPtr vm)
 {
diff --git a/src/qemu/qemu_process.h b/src/qemu/qemu_process.h
index d4768fc..8c81e40 100644
--- a/src/qemu/qemu_process.h
+++ b/src/qemu/qemu_process.h
@@ -86,6 +86,9 @@ typedef enum {
 
 int qemuProcessKill(virDomainObjPtr vm, unsigned int flags);
 
+void qemuProcessShutdownOrReboot(virQEMUDriverPtr driver,
+                                 virDomainObjPtr vm);
+
 int qemuProcessAutoDestroyInit(virQEMUDriverPtr driver);
 void qemuProcessAutoDestroyShutdown(virQEMUDriverPtr driver);
 int qemuProcessAutoDestroyAdd(virQEMUDriverPtr driver,
-- 
1.8.1.4


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