[doc] install: Add instructions to disable memballoon in libvirt

This commit is contained in:
Jonathan Rubenstein 2021-10-21 00:33:47 +03:00 committed by Geoffrey McRae
parent 0990689df5
commit 6a898c1e7c
2 changed files with 19 additions and 0 deletions

View File

@ -87,6 +87,24 @@ then, restart AppArmor.
sudo systemctl restart apparmor sudo systemctl restart apparmor
.. _client_memballoon_tweak:
Memballoon
^^^^^^^^^^
The VirtIO memballoon device enables the host to dynamically reclaim memory
from your VM by growing the balloon inside the guest, reserving reclaimed
memory. Libvirt adds this device to guests by default.
However, this device causes major performance issues with VFIO passthrough
setups, and should be disabled.
Find the ``<memballoon>`` tag and set its type to ``none``:
.. code:: xml
<memballoon model="none"/>
.. _client_qemu_commands: .. _client_qemu_commands:
QEMU Commands QEMU Commands

View File

@ -22,6 +22,7 @@ libdecor
libvirt libvirt
linux linux
LookingGlass LookingGlass
memballoon
mingw mingw
mipmapping mipmapping
modprobe modprobe