summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-07-09 17:12:38 +0100
committerDaniel P. Berrange <berrange@redhat.com>2013-07-18 11:01:14 +0100
commit03e7cacfa2891b62737886692bd68b648cc74706 (patch)
tree46552d59909b7782e0c387a6c8fcf495867ae7eb /TODO
parentf8bc3a9ccc3f40d800d856a9c6d44bc225d621bd (diff)
downloadlibvirt-python-split-03e7cacfa2891b62737886692bd68b648cc74706.tar.gz
libvirt-python-split-03e7cacfa2891b62737886692bd68b648cc74706.tar.xz
libvirt-python-split-03e7cacfa2891b62737886692bd68b648cc74706.zip
Introduce new domain create APIs to pass pre-opened FDs to LXC
With container based virt, it is useful to be able to pass pre-opened file descriptors to the container init process. This allows for containers to be auto-activated from incoming socket connections, passing the active socket into the container. To do this, introduce a pair of new APIs, virDomainCreateXMLWithFiles and virDomainCreateWithFiles, which accept an array of file descriptors. For the LXC driver, UNIX file descriptor passing will be used to send them to libvirtd, which will them pass them down to libvirt_lxc, which will then pass them to the container init process. This will only be implemented for LXC right now, but the design is generic enough it could work with other hypervisors, hence I suggest adding this to libvirt.so, rather than libvirt-lxc.so Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions