diff --git a/doc/module.rst b/doc/module.rst index cb415411..b5108b5e 100644 --- a/doc/module.rst +++ b/doc/module.rst @@ -172,15 +172,22 @@ Create the following XML block in your domain: - + - + .. note:: - Remember to add ``xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'`` - to the ```` tag. + - Remember to add ``xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'`` + to the ```` tag. + + - The ``"size"`` tag represents the size of the shared memory device in bytes. + Once you determine the proper size of the device as per + :ref:`Determining Memory `, use the figure you got + to calculate the size in bytes: + + ``size_in_MB x 1024 x 1024 = size_in_bytes`` 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