提交 9f25d22a 编写于 作者: D Daniel P. Berrange

Move process lifecycle code from qemud.c to driver.c

上级 8ebda57b
Tue Jun 26 15:11:00 EST 2007 Daniel P. Berrange <berrange@rdhat.com>
Tue Jun 26 16:41:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* qemud/driver.c, qemud/driver.h, qemud/internal.h,
qemud/qemud.c: Move VM & network process lifecycle management
out of qemud.c and into the main driver.c
Tue Jun 26 15:11:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* qemud/dispatch.c, qemud/driver.c, qemud/driver.h: Move
code for generating capabilities XML into driver.c file
alongside other driver APIs
Tue Jun 26 14:52:00 EST 2007 Daniel P. Berrange <berrange@rdhat.com>
Tue Jun 26 14:52:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* qemud/event.c, qemud/event.h, qemud/Makefile.am: Generic
standalone event loop implementation for monitoring file
......
此差异已折叠。
......@@ -27,6 +27,20 @@
#include "internal.h"
int qemudStartVMDaemon(struct qemud_server *server,
struct qemud_vm *vm);
int qemudShutdownVMDaemon(struct qemud_server *server,
struct qemud_vm *vm);
int qemudStartNetworkDaemon(struct qemud_server *server,
struct qemud_network *network);
int qemudShutdownNetworkDaemon(struct qemud_server *server,
struct qemud_network *network);
void qemudShutdown(struct qemud_server *server);
void qemudReportError(struct qemud_server *server,
int code, const char *fmt, ...)
ATTRIBUTE_FORMAT(printf,3,4);
......
......@@ -357,18 +357,6 @@ struct qemud_server {
unsigned int shutdown : 1;
};
int qemudStartVMDaemon(struct qemud_server *server,
struct qemud_vm *vm);
int qemudShutdownVMDaemon(struct qemud_server *server,
struct qemud_vm *vm);
int qemudStartNetworkDaemon(struct qemud_server *server,
struct qemud_network *network);
int qemudShutdownNetworkDaemon(struct qemud_server *server,
struct qemud_network *network);
void qemudLog(int priority, const char *fmt, ...)
ATTRIBUTE_FORMAT(printf,2,3);
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册