Fixed path for autostarting daemon

This commit is contained in:
Daniel P. Berrange 2007-02-14 21:46:06 +00:00
parent de48dae9f0
commit 8dca13efc1
2 changed files with 38 additions and 33 deletions

View File

@ -1,3 +1,8 @@
Wed Feb 14 16:45:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_internal.c: Fixed path to the libvirt_qemud
daemon for auto-start
Wed Feb 14 19:53:33 CET 2007 Daniel Veillard <veillard@redhat.com> Wed Feb 14 19:53:33 CET 2007 Daniel Veillard <veillard@redhat.com>
* libvirt.spec.in: spec cleanup and missing BuildRequires * libvirt.spec.in: spec cleanup and missing BuildRequires
@ -9,50 +14,50 @@ Wed Feb 14 19:06:26 CET 2007 Daniel Veillard <veillard@redhat.com>
prepare release of 0.2.0, update doc, avoid console module for API. prepare release of 0.2.0, update doc, avoid console module for API.
* po/*: regenerated * po/*: regenerated
Tue Feb 14 12:35:24 EST 2007 Daniel P. Berrange <berrange@redhat.com> Wed Feb 14 12:35:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* libvirt.spec.in: Added dep on libsysfs-devel. Pre-create * libvirt.spec.in: Added dep on libsysfs-devel. Pre-create
the qemu config dir & socket dir. the qemu config dir & socket dir.
Tue Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com> Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_internal.c, qemud/qemud.c: Move configs into * src/qemu_internal.c, qemud/qemud.c: Move configs into
/etc/libvirt/qemu or $HOME/.libvirt/qemu and the socket into /etc/libvirt/qemu or $HOME/.libvirt/qemu and the socket into
$HOME/.libvirt/qemud-sock or /var/run/libvirt/qemud-sock $HOME/.libvirt/qemud-sock or /var/run/libvirt/qemud-sock
Tue Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com> Wed Feb 14 12:19:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* python/generator.py: blacklist vshRunConsole method from * python/generator.py: blacklist vshRunConsole method from
the python bindings the python bindings
Tue Feb 14 12:17:24 EST 2007 Daniel P. Berrange <berrange@redhat.com> Wed Feb 14 12:17:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* po/libvirt.pot, po/*.po: Updated the i18n strings wrt to * po/libvirt.pot, po/*.po: Updated the i18n strings wrt to
the recent code changes the recent code changes
Tue Feb 14 11:58:24 EST 2007 Daniel P. Berrange <berrange@redhat.com> Wed Feb 14 11:58:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/qemud.c, src/conf.c, src/internal.c, src/driver.c: Change * src/qemud.c, src/conf.c, src/internal.c, src/driver.c: Change
the handling of the internal VM config to allow replacing of the the handling of the internal VM config to allow replacing of the
config for a VM which is running. config for a VM which is running.
Tue Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
Fix from Richard W.M. Jones <rjones@redhat.com> Fix from Richard W.M. Jones <rjones@redhat.com>
* virsh.c: add a colon after the connect arg to * virsh.c: add a colon after the connect arg to
getopt_long() getopt_long()
Tue Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/qemu_internal.c: correctly register the network * src/qemu_internal.c: correctly register the network
driver driver
Tue Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
* autogen.sh: run autoheader before automake * autogen.sh: run autoheader before automake
Tue Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/iptables.[ch]: add code for managing iptables * qemud/iptables.[ch]: add code for managing iptables
rules. rules.
@ -77,12 +82,12 @@ Tue Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
https://bugzilla.redhat.com/227011 https://bugzilla.redhat.com/227011
Tue Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/xml.c: with <interface type="network"> connect the * src/xml.c: with <interface type="network"> connect the
Xen guest to the appropriate bridge. Xen guest to the appropriate bridge.
Tue Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
* include/libvirt/libvirt.h.in, src/libvirt.c: add * include/libvirt/libvirt.h.in, src/libvirt.c: add
virNetworkGetBridgeName() to allow finding out what virNetworkGetBridgeName() to allow finding out what
@ -101,7 +106,7 @@ Tue Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/libvirt_sym.version: add new symbol. * src/libvirt_sym.version: add new symbol.
Tue Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/xend_internal.c, src/xm_internal.c: pass the * src/xend_internal.c, src/xm_internal.c: pass the
connection to virDomainParseXMLDesc() connection to virDomainParseXMLDesc()
@ -113,7 +118,7 @@ Tue Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
* tests/xml2sexprtest.c: just pass NULL here, it's * tests/xml2sexprtest.c: just pass NULL here, it's
safe safe
Tue Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c: add support for connecting a qemu * qemud/conf.c: add support for connecting a qemu
guest to a bridge using a tap device in order to guest to a bridge using a tap device in order to
@ -126,14 +131,14 @@ Tue Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/qemud.c: don't close tapfds on exec and * qemud/qemud.c: don't close tapfds on exec and
disconnect the iface when the guest shuts down. disconnect the iface when the guest shuts down.
Tue Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c, qemud/internal.h: add dhcp config * qemud/conf.c, qemud/internal.h: add dhcp config
* qemud/qemud.c: start dnsmasq to provide dns/dhcp * qemud/qemud.c: start dnsmasq to provide dns/dhcp
for virtual networks. for virtual networks.
Tue Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
* configure.in: add --disable-bridge-params, check * configure.in: add --disable-bridge-params, check
for libsysfs and various kernel headers for libsysfs and various kernel headers
@ -150,7 +155,7 @@ Tue Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/qemud.c: implement qemudStartNetworkDaemon() * qemud/qemud.c: implement qemudStartNetworkDaemon()
and qemudShutdownNetworkDaemon(). and qemudShutdownNetworkDaemon().
Tue Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.[ch]: implement parsing and saving network * qemud/conf.[ch]: implement parsing and saving network
configs. configs.
@ -163,7 +168,7 @@ Tue Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/qemud.c: add qemudStartNetworkDaemon() and * qemud/qemud.c: add qemudStartNetworkDaemon() and
qemudShutdownNetworkDaemon() stubs. qemudShutdownNetworkDaemon() stubs.
Tue Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/protocol.h: add the protocol for virtual networks * qemud/protocol.h: add the protocol for virtual networks
@ -175,11 +180,11 @@ Tue Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
* src/qemu_internal.c: add a virtual networks driver * src/qemu_internal.c: add a virtual networks driver
Tue Feb 14 15:43:28 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 15:43:28 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/virsh.c: add the net-* commands. * src/virsh.c: add the net-* commands.
Tue Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com>
Note: potential ABI break here, but people should Note: potential ABI break here, but people should
only really be using virError structs returned from only really be using virError structs returned from
@ -196,7 +201,7 @@ Tue Feb 14 15:37:17 IST 2007 Mark McLoughlin <markmc@redhat.com>
src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c, src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c,
src/xs_internal.c: update. src/xs_internal.c: update.
Tue Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
* include/libvirt/libvirt.h.in: add the networks APIs * include/libvirt/libvirt.h.in: add the networks APIs
@ -215,29 +220,29 @@ Tue Feb 14 15:33:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/virterror.c: handle the new error codes * src/virterror.c: handle the new error codes
Tue Feb 14 15:07:26 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 15:07:26 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/conf.h: fix merge error - remove the argc argument * src/conf.h: fix merge error - remove the argc argument
from qemudBuildCommandLine() from qemudBuildCommandLine()
Tue Feb 14 15:03:22 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 15:03:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff * src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff
to VSH_BYFOO in order to re-use it for the network stuff. to VSH_BYFOO in order to re-use it for the network stuff.
Tue Feb 14 14:58:35 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:58:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/hash.c, src/internal.h: Re-name virConnect->domains_mux * src/hash.c, src/internal.h: Re-name virConnect->domains_mux
to virConnect->hashes_mux since it will also be used to to virConnect->hashes_mux since it will also be used to
protect the networks hash. protect the networks hash.
Tue Feb 14 14:57:52 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:57:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c: qemudSaveConfig() will always report a * qemud/conf.c: qemudSaveConfig() will always report a
more specific error, so we should avoid overwriting more specific error, so we should avoid overwriting
this error. this error.
Tue Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/qemud.c: Re-factor out qemudExec() so that it can * qemud/qemud.c: Re-factor out qemudExec() so that it can
be used to launch dnsmasq. be used to launch dnsmasq.
@ -245,7 +250,7 @@ Tue Feb 14 14:54:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c: don't return argc from qemudBuildCommandLine() * qemud/conf.c: don't return argc from qemudBuildCommandLine()
as exec() doesn't need it. as exec() doesn't need it.
Tue Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c: Re-factor bits of conf.c so that: * qemud/conf.c: Re-factor bits of conf.c so that:
@ -255,25 +260,25 @@ Tue Feb 14 14:52:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
- split qemudScanConfigDir() out so that qemudScanConfigs() - split qemudScanConfigDir() out so that qemudScanConfigs()
can scan multiple configDirs can scan multiple configDirs
Tue Feb 14 14:50:22 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:50:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c: handle an unspecified MAC address, * qemud/conf.c: handle an unspecified MAC address,
fix the argv freeing code in qemudBuildCommandLine() fix the argv freeing code in qemudBuildCommandLine()
and fix copy and paste error in qemudGenerateXML() and fix copy and paste error in qemudGenerateXML()
Tue Feb 14 14:42:38 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:42:38 IST 2007 Mark McLoughlin <markmc@redhat.com>
* src/internal.h: add virConnect->qemud_fd so that * src/internal.h: add virConnect->qemud_fd so that
xen and qemu don't share the handle member. xen and qemu don't share the handle member.
* src/hash.c, src/qemu_internal.c: update * src/hash.c, src/qemu_internal.c: update
Tue Feb 14 14:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c, qemud/dispatch.c, qemud/driver.c, * qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
qemud/qemud.c: include autoconf's config.h qemud/qemud.c: include autoconf's config.h
Tue Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
* conf.[ch]: rename from config.[ch] so we can use * conf.[ch]: rename from config.[ch] so we can use
autoconf's config.h autoconf's config.h
@ -282,7 +287,7 @@ Tue Feb 14 14:39:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
* driver.c, qemud.c: upd. * driver.c, qemud.c: upd.
Tue Feb 14 14:33:22 IST 2007 Mark McLoughlin <markmc@redhat.com> Wed Feb 14 14:33:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
* autogen.sh: run autoheader * autogen.sh: run autoheader

View File

@ -99,8 +99,8 @@ static const char *
qemuFindServerPath(void) qemuFindServerPath(void)
{ {
static const char *serverPaths[] = { static const char *serverPaths[] = {
BINDIR "/libvirt_qemu", BINDIR "/libvirt_qemud",
BINDIR "/libvirt_qemu_dbg", BINDIR "/libvirt_qemud_dbg",
NULL NULL
}; };
int i; int i;