[libvirt] [PATCH 2/2] Add domain autostart for LXC driver
Daniel Veillard
veillard at redhat.com
Wed Jul 22 16:52:11 UTC 2009
On Wed, Jul 22, 2009 at 05:02:56PM +0100, Daniel P. Berrange wrote:
> * src/lxc_driver.c: Implement support for domain autostart
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
except that
> +static void
> +lxcAutostartConfigs(lxc_driver_t *driver) {
> + unsigned int i;
> + /* XXX: Figure out a better way todo this. The domain
> + * startup code needs a connection handle in order
> + * to lookup the bridge associated with a virtual
> + * network
> + */
> + virConnectPtr conn = virConnectOpen("lxc:///");
> + /* Ignoring NULL conn which is mostly harmless here */
which is a bit funky, I didn't spot anything, ACK
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list