[libvirt] [PATCH] Mount temporary devpts on /var/lib/libvirt/lxc/$NAME.devpts

Michal Privoznik mprivozn at redhat.com
Fri Mar 22 15:04:36 UTC 2013


On 22.03.2013 15:24, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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  | 43 +++++++++++++++++++++++++------------------
>  src/lxc/lxc_controller.c | 13 ++++---------
>  2 files changed, 29 insertions(+), 27 deletions(-)
> 

ACK

Michal




More information about the libvir-list mailing list