mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
Fix and improve domain xml video element description
The description mismatched the actual structure since the video element was introduced. The nvram attribute is actually called vram. Specify the unit of the vram attribute.
This commit is contained in:
parent
d0857c0132
commit
52a18abd94
@ -774,20 +774,34 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<video type='vga' nvram='8192' heads='1'>
|
<video>
|
||||||
<acceleration accel3d='yes' accel3d='yes' />
|
<model type='vga' vram='8192' heads='1'>
|
||||||
|
<acceleration accel3d='yes' accel3d='yes'/>
|
||||||
|
</model>
|
||||||
</video>
|
</video>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><code>video</code></dt>
|
<dt><code>video</code></dt>
|
||||||
<dd>The <code>video</code> element has a mandatory <code>type</code>
|
<dd>
|
||||||
attribute which takes the value "vga", "cirrus", "vmvga", "xen" or "vbox".
|
The <code>video</code> element is the a container for describing
|
||||||
You can also provide the amount of video memory using <code>nvram</code>,
|
video devices.
|
||||||
the number of screen with <code>heads</code>, and whether acceleration
|
</dd>
|
||||||
should be enabled (if supported) using the <code>accel3d</code> and
|
|
||||||
<code>accel2d</code> attributes in the <code>acceleration</code> element.
|
|
||||||
|
|
||||||
|
<dt><code>model</code></dt>
|
||||||
|
<dd>
|
||||||
|
The <code>model</code> element has a mandatory <code>type</code>
|
||||||
|
attribute which takes the value "vga", "cirrus", "vmvga", "xen" or "vbox".
|
||||||
|
You can also provide the amount of video memory in kilobytes using
|
||||||
|
<code>vram</code> and the number of screen with <code>heads</code>.
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
<dt><code>acceleration</code></dt>
|
||||||
|
<dd>
|
||||||
|
If acceleration should be enabled (if supported) using the
|
||||||
|
<code>accel3d</code> and <code>accel2d</code> attributes in the
|
||||||
|
<code>acceleration</code> element.
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<h4><a name="elementsConsole">Consoles, serial, parallel & channel devices</a></h4>
|
<h4><a name="elementsConsole">Consoles, serial, parallel & channel devices</a></h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user