- 11 4月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 04 4月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* configure.in, qemud/Makefile.am: Set QEMUD_PID_FILE macro correctly (expand ${prefix} in Makefile). * qemud/qemud.c: Add command line help. * ChangeLog: Remove a CVS '>>>>' conflict line which had been committed inadvertently.
-
- 31 3月, 2007 2 次提交
-
-
由 Mark McLoughlin 提交于
* qemud/iptables.c: As suggested by danpb, make libvirt_qemud handle SIGHUP by re-loading the iptables rules.
-
由 Mark McLoughlin 提交于
* qemud/iptables.c: Remove the target interface parameter from iptablesPhysdevForward(). This rule is intended to allow frames to be forwarded across the bridge from the supplied bridge port. In this context, the --out parameter would match the outgoing bridge port, which will never be network->def->forwardDev.
-
- 27 3月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
warn_unused_result by counting errors found in signal handler and logging them in the main loop.
-
- 23 3月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/virsh.c src/xm_internal.c: change malloc/memset(0) pairs to using calloc() Daniel
-
- 14 3月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 07 3月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 06 3月, 2007 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Mark McLoughlin 提交于
* qemud/qemud.c: don't try and listen to a null socket path when run as a session daemon. Noticed by Rich Jones
-
- 24 2月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 23 2月, 2007 5 次提交
-
-
由 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/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/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/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.
-
- 21 2月, 2007 2 次提交
-
-
由 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 3 次提交
-
-
由 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.
-
- 17 2月, 2007 4 次提交
-
-
由 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.
-
- 16 2月, 2007 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 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 7 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Mark McLoughlin 提交于
* qemud/iptables.[ch]: add code for managing iptables rules. * qemud/Makefile.am: add iptables.[ch]. * qemud/qemud.c: add and remove iptables rules as appropriate. * qemud/conf.c: when starting a guess, add a rule allowing it to forward packets across the networks bridge. * qemud/internal.h: add iptables context ptr * configure.in: add --with-iptables-dir and --with-iptables-prefix to allow us to put our rules in a chain with the given prefix and save the rules in files in the given dir so as to integrate with the proposed "service iptables restart" solution in: https://bugzilla.redhat.com/227011
-
由 Mark McLoughlin 提交于
* qemud/conf.c: add support for connecting a qemu guest to a bridge using a tap device in order to connect it to a virtual network. * qemud/internal.h: add <interface type="network"> config and track tapfds so as to not close them on exec. * qemud/qemud.c: don't close tapfds on exec and disconnect the iface when the guest shuts down.
-
由 Mark McLoughlin 提交于
* qemud/conf.c, qemud/internal.h: add dhcp config * qemud/qemud.c: start dnsmasq to provide dns/dhcp for virtual networks.
-
由 Mark McLoughlin 提交于
* configure.in: add --disable-bridge-params, check for libsysfs and various kernel headers * bridge.[ch]: add code for managing bridges * qemud/Makefile.am: add bridge.[ch] and link against libsysfs if enabled. * qemud/conf.c: add support for bridge config. * qemud/internal.h: add various bridging bits * qemud/qemud.c: implement qemudStartNetworkDaemon() and qemudShutdownNetworkDaemon().
-
- 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/qemud.c: Re-factor out qemudExec() so that it can be used to launch dnsmasq. * qemud/conf.c: don't return argc from qemudBuildCommandLine() as exec() doesn't need it.
-
由 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 提交于
-