- 23 2月, 2007 1 次提交
-
-
由 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 2 次提交
-
-
由 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.
-
- 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 5 次提交
-
-
由 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 3 次提交
-
-
由 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
-
由 Daniel P. Berrange 提交于
-