Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 439366 Details for
Bug 587758
app-emulation/libvirt kernel config option removed for kernels > 4.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-app-emulation-libvirt-Dropping-CONFIG_MEMCG_KMEM-for.patch (text/plain), 1.06 KB, created by
Nicolas Bock
on 2016-07-02 06:42:19 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Nicolas Bock
Created:
2016-07-02 06:42:19 UTC
Size:
1.06 KB
patch
obsolete
>From f3c260b80dbdffc7c11a36b79de34f9ae498a397 Mon Sep 17 00:00:00 2001 >From: Nicolas Bock <nicolasbock@gentoo.org> >Date: Sat, 2 Jul 2016 08:35:36 +0200 >Subject: [PATCH] app-emulation/libvirt: Dropping CONFIG_MEMCG_KMEM for kernels > < 4.5 > >Package-Manager: portage-2.2.28 >--- > app-emulation/libvirt/libvirt-1.3.5-r1.ebuild | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/app-emulation/libvirt/libvirt-1.3.5-r1.ebuild b/app-emulation/libvirt/libvirt-1.3.5-r1.ebuild >index 1ba6a84..c5f3f23 100644 >--- a/app-emulation/libvirt/libvirt-1.3.5-r1.ebuild >+++ b/app-emulation/libvirt/libvirt-1.3.5-r1.ebuild >@@ -174,7 +174,12 @@ pkg_setup() { > ~!GRKERNSEC_CHROOT_CAPS" > # Handle specific kernel versions for different features > kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" >- kernel_is ge 3 6 && CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM" >+ if $(kernel_is ge 3 6); then >+ CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP " >+ if $(kernel_is lt 4 5); then >+ CONFIG_CHECK+=" ~MEMCG_KMEM " >+ fi >+ fi > > use macvtap && CONFIG_CHECK+=" > ~MACVTAP" >-- >2.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 587758
: 439366