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.
Dan.
--
|: Red Hat, Engineering, Boston -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|