]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Mount temporary devpts on /var/lib/libvirt/lxc/$NAME.devpts
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 22 Mar 2013 13:54:12 +0000 (13:54 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 22 Mar 2013 17:27:01 +0000 (17:27 +0000)
commit7e1a7444c62ebe648ec8d7bff97bfbce1c7e2b1c
tree725164c703412da5a5a80b20a4a4b1a203bf8383
parent05f664b12c1c034d0d523f1d70b6fa38566f47e8
Mount temporary devpts on /var/lib/libvirt/lxc/$NAME.devpts

Currently the lxc controller sets up the devpts instance on
$rootfsdef->src, but this only works if $rootfsdef is using
type=mount. To support type=block or type=file for the root
filesystem, we must use /var/lib/libvirt/lxc/$NAME.devpts
for the temporary devpts mount in the controller
src/lxc/lxc_container.c
src/lxc/lxc_controller.c