mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[doc] module: make cgroups configuration more visible
This commit is contained in:
parent
13fabc2e4a
commit
c9e8de334a
@ -174,19 +174,19 @@ 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``:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
sudo systemctl restart libvirtd.service
|
sudo systemctl restart libvirtd.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user