[libvirt] [PATCH v2 2/2] lxc: properly clean up qemu-nbd

Daniel P. Berrange berrange at redhat.com
Tue Jun 16 10:24:01 UTC 2015


On Tue, Jun 16, 2015 at 11:18:49AM +0200, Cédric Bosdonnat wrote:
> Add the qemu-nbd tasks to the container cgroup to make sure those will
> be killed when the container is stopped. In order to reliably get the
> qemu-nbd tasks PIDs, we use /sys/devices/virtual/block/<DEV>/pid as
> qemu-nbd is daemonizing itself.
> ---
>  src/lxc/lxc_controller.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 56 insertions(+)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list