mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-06 03:47:19 +00:00
[doc] Wrap libvirt XML devices in devices tag
This commit is contained in:
committed by
Geoffrey McRae
parent
296257dcd4
commit
8c17f32598
@@ -46,7 +46,9 @@ For libvirt, add a SPICE server:
|
||||
|
||||
.. code:: xml
|
||||
|
||||
<graphics type='spice'/>
|
||||
<devices>
|
||||
<graphics type='spice'/>
|
||||
</devices>
|
||||
|
||||
and a USB redirection device:
|
||||
|
||||
|
||||
@@ -122,24 +122,30 @@ To enable SPICE support, add a SPICE graphics server to your virtual machine:
|
||||
|
||||
.. code:: xml
|
||||
|
||||
<graphics type='spice'/>
|
||||
<devices>
|
||||
<graphics type='spice'/>
|
||||
</devices>
|
||||
|
||||
For a fallback display, set up your video device to use VGA:
|
||||
|
||||
.. code:: xml
|
||||
|
||||
<video>
|
||||
<model type="vga"/>
|
||||
</video>
|
||||
<devices>
|
||||
<video>
|
||||
<model type="vga"/>
|
||||
</video>
|
||||
</devices>
|
||||
|
||||
For fallback audio support, add a standard Intel HDA audio device:
|
||||
|
||||
.. code:: xml
|
||||
|
||||
<sound model='ich9'>
|
||||
<audio id='1'/>
|
||||
</sound>
|
||||
<audio id='1' type='spice'/>
|
||||
<devices>
|
||||
<sound model='ich9'>
|
||||
<audio id='1'/>
|
||||
</sound>
|
||||
<audio id='1' type='spice'/>
|
||||
</devices>
|
||||
|
||||
.. _libvirt_memballoon_tweak:
|
||||
|
||||
@@ -157,7 +163,9 @@ Find the ``<memballoon>`` tag and set its type to ``none``:
|
||||
|
||||
.. code:: xml
|
||||
|
||||
<memballoon model="none"/>
|
||||
<devices>
|
||||
<memballoon model="none"/>
|
||||
</devices>
|
||||
|
||||
.. _libvirt_additional_tuning:
|
||||
|
||||
|
||||
@@ -14,10 +14,12 @@ your virtual machine.
|
||||
|
||||
.. code:: xml
|
||||
|
||||
<shmem name='looking-glass'>
|
||||
<model type='ivshmem-plain'/>
|
||||
<size unit='M'>64</size>
|
||||
</shmem>
|
||||
<devices>
|
||||
<shmem name='looking-glass'>
|
||||
<model type='ivshmem-plain'/>
|
||||
<size unit='M'>64</size>
|
||||
</shmem>
|
||||
</devices>
|
||||
|
||||
.. note::
|
||||
If you are using QEMU directly without libvirt the following arguments are
|
||||
|
||||
Reference in New Issue
Block a user