[libvirt] [PATCH 4/5] qemu: Use namespaces iff available on the host kernel

Daniel P. Berrange berrange at redhat.com
Wed Jan 11 17:02:25 UTC 2017


On Wed, Jan 11, 2017 at 05:43:15PM +0100, Michal Privoznik wrote:
> So far the namespaces were turned on by default unconditionally.
> For all non-Linux platforms we provided stub functions that just
> ignored whatever namespaces setting there was in qemu.conf and
> returned 0 to indicate success. Moreover, we didn't really check
> if namespaces are available on the host kernel.
> 
> This is suboptimal as we might have ignored user setting.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_conf.c   |  6 +++++-
>  src/qemu/qemu_domain.c | 35 ++++++++++-------------------------
>  2 files changed, 15 insertions(+), 26 deletions(-)

ACK

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




More information about the libvir-list mailing list