- 23 2月, 2007 16 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/libvirtd.in: add init script for libvirt_qemud * qemud/Makefile.am: install it unless we were configured with --with-init-scripts=none * configure.in: add --with-init-scripts to allow us have different flavour init scripts
-
由 Mark McLoughlin 提交于
* qemud/qemud.c: add --pid-file and default to writing out a PID file to /var/run/libvirt_qemud.pid in daemon mode. * configure.in: add --with-pid-file arg
-
由 Mark McLoughlin 提交于
* qemud/Makefile.am: install libvirt_qemud in /usr/sbin instead of /usr/libexec * src/Makefile.am, src/qemu_internal.c: pass the correct path to libvirt
-
由 Mark McLoughlin 提交于
* src/virsh.c: in "start" and "net-start" use e.g. vshCommandOptDomainBy() so that we actually get an error message if the domain/network isn't found.
-
由 Mark McLoughlin 提交于
* qemud/conf.c: actually autostart guests/networks at startup as appropriate.
-
由 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 3 次提交
-
-
由 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
-