diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-01-22 12:29:59 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-01-22 12:36:24 -0600 |
commit | 0dccc0186ab751c6a5888c75ed098ff117ecde99 (patch) | |
tree | 587feb2fb9334b3aceef6b9c35c65e7526ab7cab /app-emulation/libvirt/files | |
parent | profiles: Drop obsolete media-gfx/nomacs[qt5] use.stable.mask (diff) | |
download | gentoo-0dccc0186ab751c6a5888c75ed098ff117ecde99.tar.gz gentoo-0dccc0186ab751c6a5888c75ed098ff117ecde99.tar.bz2 gentoo-0dccc0186ab751c6a5888c75ed098ff117ecde99.zip |
app-emulation/libvirt: version bump to 3.0.0, bug #606632
As pointed out by Michal Privoznik, also apply upstream patch:
commit ec9c065d405a129d3d33abd3d10d8a7ff1a49420
Author: Daniel P. Berrange <berrange@redhat.com>
Date: Wed Jan 18 10:48:12 2017 +0000
Disable use of namespaces by default
When namespaces are enabled there is currently breakage when
using disk hotplug and when using AppArmor
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Package-Manager: Portage-2.3.0, Repoman-2.3.1
Diffstat (limited to 'app-emulation/libvirt/files')
-rw-r--r-- | app-emulation/libvirt/files/libvirt-3.0.0-Disable-use-of-namespaces-by-default.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emulation/libvirt/files/libvirt-3.0.0-Disable-use-of-namespaces-by-default.patch b/app-emulation/libvirt/files/libvirt-3.0.0-Disable-use-of-namespaces-by-default.patch new file mode 100644 index 000000000000..59e7bf5d01bd --- /dev/null +++ b/app-emulation/libvirt/files/libvirt-3.0.0-Disable-use-of-namespaces-by-default.patch @@ -0,0 +1,34 @@ +From ec9c065d405a129d3d33abd3d10d8a7ff1a49420 Mon Sep 17 00:00:00 2001 +From: "Daniel P. Berrange" <berrange@redhat.com> +Date: Wed, 18 Jan 2017 10:48:12 +0000 +Subject: [PATCH] Disable use of namespaces by default + +When namespaces are enabled there is currently breakage when +using disk hotplug and when using AppArmor + +Signed-off-by: Daniel P. Berrange <berrange@redhat.com> +--- + src/qemu/qemu_conf.c | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c +index 6613d59..aa05b46 100644 +--- a/src/qemu/qemu_conf.c ++++ b/src/qemu/qemu_conf.c +@@ -317,13 +317,6 @@ virQEMUDriverConfigPtr virQEMUDriverConfigNew(bool privileged) + if (!(cfg->namespaces = virBitmapNew(QEMU_DOMAIN_NS_LAST))) + goto error; + +-#if defined(__linux__) +- if (privileged && +- virProcessNamespaceAvailable(VIR_PROCESS_NAMESPACE_MNT) == 0 && +- virBitmapSetBit(cfg->namespaces, QEMU_DOMAIN_NS_MOUNT) < 0) +- goto error; +-#endif /* defined(__linux__) */ +- + #ifdef DEFAULT_LOADER_NVRAM + if (virFirmwareParseList(DEFAULT_LOADER_NVRAM, + &cfg->firmwares, +-- +2.10.2 + |