- 23 2月, 2007 3 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/conf.[ch]: significantly re-factor qemudLoadConfigXML() so that "parse the XML", "assign the def to a VM" and "save the XML" operations are in separate functions. Add qemudRemoveInactiveVM() and qemudRemoveInactiveNetwork(). Report errors when loading config files at startup. Check that a domain/network's name matches the config filename. * qemud/driver.c: update the Create() and Define() functions to explicitly parse/assign/save. Also, fix bug where if Create() failed, we would free the VM without removing it from the inactive list. * qemud/qemud.c: use qemudRemoveInactiveVM/Network()
-
由 Mark McLoughlin 提交于
* qemud/driver.[ch], qemud/dispatch.c: fix the fact that qemudDispatchDomainStart() doesn't report an error if the uuid lookup fails and also move the uuid lookup into the driver so that it matches the way we do Destroy().
-
由 Mark McLoughlin 提交于
* qemud/conf.c, qemud/driver.c, qemud/internal.h, qemud/qemud.c: Merge the ->activevms and ->inactivevms into a single ->vms list in order to make things easier to manage. Likewise for networks. Also add qemudIsActiveVM() and qemudIsActiveNetwork() inline functions.
-
- 17 2月, 2007 1 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/qemud.c, qemud/dispatch.c, qemud/internal.h qemud/conf.c, qemud/driver.c, configure.in: add a qemudLog() function which uses syslog() if we're in daemon mode, doesn't output INFO/DEBUG messages unless the verbose flag is set and doesn't output DEBUG messages unless compiled with --enable-debug. Also, make a first pass through fatal errors and add error messages for them.
-
- 16 2月, 2007 1 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/conf.[ch], qemud/dispatch.c, qemud/internal.h, qemud/qemud.c, qemud/driver.c: allow re-defining network configs; basically copying dan's patch for domains.
-
- 15 2月, 2007 3 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/conf.c: fix a couple of qemud_vm_def leaks * driver.c: simplify qemudDomainDefine()
-
由 Daniel P. Berrange 提交于
-
由 Mark McLoughlin 提交于
* include/libvirt/libvirt.h.in, src/libvirt.c: add virNetworkGetBridgeName() to allow finding out what bridge to connect to in order to join a network. * src/driver.h: add networkGetBridgeName() to vtable. * qemud/protocol.h: add the request and reply to the qemud protocol. * qemud/dispatch.c, qemud/driver.[ch]: handle them here. * src/qemu_internal.c: implement GetBridgeName() in the qemu driver. * src/libvirt_sym.version: add new symbol.
-
- 14 2月, 2007 5 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/conf.[ch]: implement parsing and saving network configs. * qemud/driver.c: flesh out the stubs * qemud/internal.h: add networks list etc. to struct qemud_server * qemud/qemud.c: add qemudStartNetworkDaemon() and qemudShutdownNetworkDaemon() stubs.
-
由 Mark McLoughlin 提交于
* qemud/protocol.h: add the protocol for virtual networks * qemud/dispatch.c: implement the protocol * qemud/driver.[ch]: add stubs for the driver * qemud/internal.h: add struct qemud_network * src/qemu_internal.c: add a virtual networks driver
-
由 Mark McLoughlin 提交于
* qemud/conf.c, qemud/dispatch.c, qemud/driver.c, qemud/qemud.c: include autoconf's config.h
-
由 Mark McLoughlin 提交于
* conf.[ch]: rename from config.[ch] so we can use autoconf's config.h * Makefile.am: update * driver.c, qemud.c: upd.
-
由 Daniel P. Berrange 提交于
-