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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]