mirror of https://gitee.com/openkylin/libvirt.git
apparmor, libvirt-qemu: Allow QEMU to gather information about available host resources.
This commit is contained in:
parent
1c21dd711c
commit
e7f5d627f9
examples/apparmor
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue