[Libvir] [RFC] 4 of 4 Linux Container support - start container
veillard at redhat.com
Fri Mar 21 20:40:54 UTC 2008
On Fri, Mar 21, 2008 at 05:37:50PM +0000, Daniel P. Berrange wrote:
> On Fri, Mar 21, 2008 at 01:33:55PM -0400, Daniel Veillard wrote:
> > On Fri, Mar 21, 2008 at 10:30:36AM -0700, Dan Smith wrote:
> > > DB> The patch I posted to make it use the state driver means all LXC
> > > DB> driver calls go via the daemon. So nothing happens directly as a
> > > DB> child of the calling application - its all in the context of the
> > > DB> daemon.
> > >
> > > Yeah, just saw that. Even better :)
> > >
> > > It seems to me that always being in the daemon would allow the console
> > > forwarding to happen there instead of being duplicated in every
> > > container. I don't really like the idea of having a forwarding
> > > process in every container as the parent of the container init.
> > The only problem is that if we restart the daemon we loose all state,
> > and can't control the domain anymore I'm afraid, right ?
> Yes, but we have that problem already with the QEMU and network drivers
> and there are ways to deal with that which we can implement ina generic
> manner which works across all drivers.
Among the TODOs for Fedora (but not urgent) are adding /etc/libvirt/lxc
to the spec file and request access for libvirtd at the SELinux level,
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list