mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-02 21:52:01 +00:00 
			
		
		
		
	[doc] install: Add instructions to disable memballoon in libvirt
This commit is contained in:
		
				
					committed by
					
						
						Geoffrey McRae
					
				
			
			
				
	
			
			
			
						parent
						
							0990689df5
						
					
				
				
					commit
					6a898c1e7c
				
			@@ -87,6 +87,24 @@ then, 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:
 | 
			
		||||
 | 
			
		||||
QEMU Commands
 | 
			
		||||
 
 | 
			
		||||
@@ -22,6 +22,7 @@ libdecor
 | 
			
		||||
libvirt
 | 
			
		||||
linux
 | 
			
		||||
LookingGlass
 | 
			
		||||
memballoon
 | 
			
		||||
mingw
 | 
			
		||||
mipmapping
 | 
			
		||||
modprobe
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user