- 15 2月, 2007 9 次提交
-
-
由 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 提交于
* src/xml.c: with <interface type="network"> connect the Xen guest to the appropriate bridge.
-
由 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.
-
由 Mark McLoughlin 提交于
* src/xend_internal.c, src/xm_internal.c: pass the connection to virDomainParseXMLDesc() * src/xml.[ch]: make virDomainParseXMLDesc accept a virConnectPtr so that we can use it later to lookup the bridge associated with a network * tests/xml2sexprtest.c: just pass NULL here, it's safe
-
由 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 提交于
* src/conf.h: fix merge error - remove the argc argument from qemudBuildCommandLine()
-
由 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 提交于
* src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff to VSH_BYFOO in order to re-use it for the network stuff.
-
由 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 18 次提交
-
-
由 Mark McLoughlin 提交于
* src/hash.c, src/internal.h: Re-name virConnect->domains_mux to virConnect->hashes_mux since it will also be used to protect the networks hash.
-
由 Mark McLoughlin 提交于
* src/conf.c: qemudSaveConfig() will always report a more specific error, so we should avoid overwriting this error.
-
由 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/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: Re-factor bits of conf.c so that: - qemudMakeConfigPath() can be re-used given another configDir - split qemudEnsureConfigDir() out of qemudSaveConfig() so that it may be re-used to create another configDir - split qemudScanConfigDir() out so that qemudScanConfigs() can scan multiple configDirs
-
由 Mark McLoughlin 提交于
* qemud/conf.c: handle an unspecified MAC address, fix the argv freeing code in qemudBuildCommandLine() and fix copy and paste error in qemudGenerateXML()
-
由 Mark McLoughlin 提交于
* src/internal.h: add virConnect->qemud_fd so that xen and qemu don't share the handle member. * src/hash.c, src/qemu_internal.c: update
-
由 Mark McLoughlin 提交于
* src/virsh.c: add the net-* commands.
-
由 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.
-
由 Mark McLoughlin 提交于
Note: potential ABI break here, but people should only really be using virError structs returned from libvirt itself. * include/libvirt/virterror.h: add virNetwork to virError * src/internal.h, src/virterror.c: add network param to __virRaiseError() * src/conf.c, src/hash.c, src/libvirt.c, src/proxy_internal.c, src/qemu_internal.c, src/sexpr.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c, src/xs_internal.c: update.
-
由 Mark McLoughlin 提交于
* include/libvirt/libvirt.h.in: add the networks APIs * include/libvirt/virterror.h: add some error codes * src/driver.h: add network driver vtable * src/hash.c: add networks hash * src/internal.h: add virNetwork * src/libvirt.c: hook up the APIs to the network driver * src/libvirt_sym.version: add the new APIs * src/virterror.c: handle the new error codes
-
由 Mark McLoughlin 提交于
* autogen.sh: run autoheader * config.h.in: remove
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 09 2月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 08 2月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 07 2月, 2007 3 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 29 1月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 26 1月, 2007 4 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel Veillard 提交于
in getopt_long() Daniel
-
由 Daniel Veillard 提交于
output instructions if configure failed Daniel
-
- 23 1月, 2007 3 次提交
-
-
由 Mark McLoughlin 提交于
* include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and VIR_UUID_STRING_BUFLEN * libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c, libvirt/src/internal.h, libvirt/src/libvirt.c, libvirt/src/proxy_internal.c, libvirt/src/test.c, libvirt/src/virsh.c, libvirt/src/xend_internal.c, libvirt/src/xm_internal.c, libvirt/src/xml.c, libvirt/python/libvir.c: use them
-
由 Mark McLoughlin 提交于
Issues pointed out by Karel Zak <kzak@redhat.com> * src/virsh.c: fix up some syntax strings, use BUFSIZ and free names returned from virConnectListDefinedDomains()
-
由 Daniel P. Berrange 提交于
-