mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +00:00
[doc] module: make cgroups configuration more visible
This commit is contained in:
parent
13fabc2e4a
commit
c9e8de334a
@ -174,15 +174,15 @@ Create the following XML block in your domain:
|
|||||||
|
|
||||||
Running libvirt this way violates AppArmor and cgroups policies, which will
|
Running libvirt this way violates AppArmor and cgroups policies, which will
|
||||||
block the VM from running. These policies must be amended to allow the VM
|
block the VM from running. These policies must be amended to allow the VM
|
||||||
to start.
|
to start:
|
||||||
|
|
||||||
For AppArmor, create ``/etc/apparmor.d/local/abstractions/libvirt-qemu`` if
|
- For AppArmor, create ``/etc/apparmor.d/local/abstractions/libvirt-qemu`` if
|
||||||
it doesn't exist, and add the following::
|
it doesn't exist, and add the following::
|
||||||
|
|
||||||
# Looking Glass
|
# Looking Glass
|
||||||
/dev/kvmfr0 rw,
|
/dev/kvmfr0 rw,
|
||||||
|
|
||||||
For cgroups, edit ``/etc/libvirt/qemu.conf``, uncomment the
|
- For cgroups, edit ``/etc/libvirt/qemu.conf``, uncomment the
|
||||||
``cgroup_device_acl`` block, and add ``/dev/kvmfr0`` to the list.
|
``cgroup_device_acl`` block, and add ``/dev/kvmfr0`` to the list.
|
||||||
Then restart ``libvirtd``:
|
Then restart ``libvirtd``:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user