[Libvir] [RFC] 3 of 4 Linux Container support

Jim Meyering jim at meyering.net
Fri Mar 21 17:32:45 UTC 2008


"Daniel P. Berrange" <berrange at redhat.com> wrote:
...
> The following patches make the driver properly integrate with the stateful
> driver APIs. It also changes the config files to be named by on VM name
> instead of UUID, since this is what the QEMU driver does & its more user
> friendly. It also adds the CLONE_XXX constants since they have not yet
> been added to the libc  sched.h file. IMHO we should enable the driver by
> default, since it can already probe for availability at runtime. Finally
> it also fixes a typo where it wrote 'linuxcontainer' as the domain type
> in the config file instead of 'lxc'.
...
> Index: src/lxc_driver.c
> ===================================================================
> RCS file: /data/cvs/libvirt/src/lxc_driver.c,v
...
> +static lxc_driver_t *lxc_driver;

Do you really want to add a static variable to the library?




More information about the libvir-list mailing list