- 23 2月, 2007 11 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/internal.h: put the config directory paths in an array in order to make them easier to initialize, but still expose pointers to each of them as members in the server struct. * qemud/qemud.c: cleanup the config directory path initialization.
-
由 Mark McLoughlin 提交于
* qemud/driver.c: maintain the autostart flag on disk using symlinks from the "autostart" directories to the corresponding config files. * qemud/internal.h: add paths to the autostart links to the vm/network structures and paths to the autostart dirs to the server struct. * qemud/qemud.c: initialize the server autostart dir patches. * qemud/conf.h: expose qemudEnsureDir() * qemud/conf.c: check the autostart symlinks when loading config files at startup.
-
由 Mark McLoughlin 提交于
* qemud/protocol.h: add the (domain/network)(Get/Set)Autostart requests and replies to the protocol. * src/qemu_internal.c: hookup the qemu driver autostart methods * qemud/dispatch.c, qemud/driver.[ch], internal.h: add the daemon side, but just set an in-memory autostart flag for now.
-
由 Mark McLoughlin 提交于
* src/virsh.c: add "autostart" and "net-autostart" commands and cleanup the "list" and "net-list" commands a bit.
-
由 Mark McLoughlin 提交于
* include/libvirt/libvirt.h.in, src/libvirt.c add virDomainGetAutostart(), virDomainSetAutostart(), virNetworkGetAutostart() and virNetworkSetAutostart(). * src/libvirt_sym.version: export the API * src/driver.h: add methods to the driver vtables. * src/proxy_internal.c, src/qemu_internal.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xm_internal.c, src/xs_internal.c: set those methods to NULL
-
由 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.
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 22 2月, 2007 1 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/conf.c: fix another xml property leak.
-
- 21 2月, 2007 5 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/conf.c: use strerror(errno) in some error messages to make them a bit more useful
-
由 Mark McLoughlin 提交于
* qemud/conf.c: don't free active networks/vms if we fail to save the new config
-
由 Mark McLoughlin 提交于
* virsh.c: cmdNetworkList() re-indent this.
-
由 Mark McLoughlin 提交于
Fix a few leaks * qemud/qemud.c: qemudCleanup(): free the socket structures * qemud/conf.c: fix various leaks in the xml parsing * qemud/iptables.c: fix a typo causing a leak
-
由 Mark McLoughlin 提交于
* qemud/conf.c, qemud/qemud.c: only create config dirs when actually trying to write out config.
-
- 20 2月, 2007 4 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/bridge.c: change the fix for the alignment warning a little.
-
由 Mark McLoughlin 提交于
* qemud/qemud.c: clean up qemudInitialize() and qemudListen() so as to coalesce the two "system vs. user" code paths and fix up some problems noticed by dan.
-
由 Mark McLoughlin 提交于
* qemud/qemud.c: don't shutdown guest and networks on SIGHUP
-
由 Mark McLoughlin 提交于
* qemud/qemud.c: handle SIGQUIT.
-
- 19 2月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 17 2月, 2007 10 次提交
-
-
由 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.
-
由 Mark McLoughlin 提交于
* qemud/internal.h, qemud/qemud.c: improve signal handling and handle SIGHUP by shutting down all guests and networks and re-loading configs, and handle SIGINT and SIGTERM by shutting down cleanly.
-
由 Mark McLoughlin 提交于
* qemud/qemud.c, qemud/bridge.c, qemud/iptables.c: fix our FD_CLOEXEC usage so that all fds which should be closed on exec are marked as such and that we leave exec() to do the actual closing.
-
由 Mark McLoughlin 提交于
* qemud/qemud.c: fix qemudEnableIpForwarding() to not leak an fd if writing to /proc/sys/net/ipv4/ip_forward fails.
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 16 2月, 2007 8 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Mark McLoughlin 提交于
* qemud/conf.c: fix <interface type='network'> output
-
由 Mark McLoughlin 提交于
* qemud/conf.c: fix the <graphics> output - we weren't handling sdl
-
由 Mark McLoughlin 提交于
* qemud/conf.c: fix a couple of typos
-
由 Mark McLoughlin 提交于
* qemud/conf.c: fix segfault
-
由 Mark McLoughlin 提交于
* qemud/conf.h: move qemudFreeVMDef() down a bit
-
由 Mark McLoughlin 提交于
* qemud/bridge.c: don't output bridge parameters if they are the default.
-
由 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.
-