[libvirt] [PATCH] apparmor, libvirt-qemu: Allow QEMU to gather information about available host resources.
Guido Günther
agx at sigxcpu.org
Fri Aug 11 20:00:36 UTC 2017
Hi,
On Tue, Aug 08, 2017 at 09:57:26PM +0000, intrigeri wrote:
> ---
> examples/apparmor/libvirt-qemu | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu
> index f462d7428c..dcfb1a5985 100644
> --- a/examples/apparmor/libvirt-qemu
> +++ b/examples/apparmor/libvirt-qemu
> @@ -169,3 +169,9 @@
> @{PROC}/device-tree/ r,
> @{PROC}/device-tree/** r,
> /sys/firmware/devicetree/** r,
> +
> + # for gathering information about available host resources
> + /sys/devices/system/cpu/ r,
> + /sys/devices/system/node/ r,
> + /sys/devices/system/node/node[0-9]*/meminfo r,
> + /sys/module/vhost/parameters/max_mem_regions r,
> --
Pushed. Thanks. I'm still not used to adding the acked-by header. Will
do better next time.
Cheers,
-- Guido
More information about the libvir-list
mailing list