[doc] module: Kernel Module polish

This commit is contained in:
Jonathan Rubenstein 2021-12-25 22:33:01 +02:00 committed by Geoffrey McRae
parent 5bef733647
commit 181ee2b4f5

View File

@ -166,9 +166,9 @@ Add the following arguments to your ``qemu`` command line::
libvirt libvirt
^^^^^^^ ^^^^^^^
Starting with QEMU 6.2 and libvirt 7.9, JSON style QEMU configuration became the default Starting with QEMU 6.2 and libvirt 7.9, JSON style QEMU configuration is the
syntax. As such, if you're running QEMU 6.2 or later **and** libvirt 7.9 or later, default syntax. Users running QEMU 6.2 or later **and** libvirt 7.9 or later,
please create the following XML block in your domain: should use this XML block to configure their VM for kvmfr:
.. code:: xml .. code:: xml
@ -181,18 +181,19 @@ please create the following XML block in your domain:
.. note:: .. note::
- Not using the new syntax above might cause QEMU to abort while starting the VM with - Using an incorrect syntax for your host configuration may cause QEMU to
"``error: internal error: ... PCI: slot 1 function 0 not available for pcie-root-port, in use by ivshmem-plain``" abort with the following error message:
"``error: internal error: ... PCI: slot 1 function 0 not available for pcie-root-port, in use by ivshmem-plain``"
- The ``"size"`` tag represents the size of the shared memory device in bytes. - The ``"size"`` tag represents the size of the shared memory device in
Once you determine the proper size of the device as per bytes. Once you determine the proper size of the device as per
:ref:`Determining Memory <client_determining_memory>`, use the figure you got :ref:`Determining Memory <client_determining_memory>`, use the figure you
to calculate the size in bytes: got to calculate the size in bytes:
``size_in_MB x 1024 x 1024 = size_in_bytes`` ``size_in_MB x 1024 x 1024 = size_in_bytes``
If you are running QEMU older than 6.2 or libvirt older than 7.9, please use If you are running QEMU older than 6.2 or libvirt older than 7.9, please use
the older syntax for the IVSHMEM XML block: legacy syntax for IVSHMEM setup:
.. code:: xml .. code:: xml