]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC: Wire up the virDomainCreate{XML}WithFiles methods
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 9 Jul 2013 17:15:45 +0000 (18:15 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 18 Jul 2013 11:07:51 +0000 (12:07 +0100)
commit11693bc6f08fcb8640441643f1ab6ecee45d58c1
treea6d4bc1424d8293ed1389ec9295616830f3bc777
parentddaf15d7a3863d54e242f8ff759592206466540d
LXC: Wire up the virDomainCreate{XML}WithFiles methods

Wire up the new virDomainCreate{XML}WithFiles methods in the
LXC driver, so that FDs get passed down to the init process.

The lxc_container code needs to do a little dance in order
to renumber the file descriptors it receives into linear
order, starting from STDERR_FILENO + 1.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_container.c
src/lxc/lxc_container.h
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c
src/lxc/lxc_process.c
src/lxc/lxc_process.h