Re: [libvirt] [PATCH 2/2] Add domain autostart for LXC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]