mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Add documentation for <sound> device XML format.
This commit is contained in:
parent
adf4384501
commit
b509716b33
@ -1,3 +1,8 @@
|
|||||||
|
Tue May 19 09:16:37 EDT 2009 Cole Robinson <crobinso@redhat.com>
|
||||||
|
|
||||||
|
Add documentation for <sound> device XML format.
|
||||||
|
* docs/formatdomain.html docs/formatdomain.html.in
|
||||||
|
|
||||||
Tue May 19 09:14:12 EDT 2009 Cole Robinson <crobinso@redhat.com>
|
Tue May 19 09:14:12 EDT 2009 Cole Robinson <crobinso@redhat.com>
|
||||||
|
|
||||||
Use virAsprintf, rather than VIR_ALLOC + strcpy + strcat
|
Use virAsprintf, rather than VIR_ALLOC + strcpy + strcat
|
||||||
|
@ -183,6 +183,8 @@
|
|||||||
</li><li>
|
</li><li>
|
||||||
<a href="#elementsCharUNIX">UNIX domain socket client/server</a>
|
<a href="#elementsCharUNIX">UNIX domain socket client/server</a>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
</li><li>
|
||||||
|
<a href="#elementsSound">Sound devices</a>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</li><li>
|
</li><li>
|
||||||
@ -916,6 +918,24 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
<target port="1"/>
|
<target port="1"/>
|
||||||
</serial>
|
</serial>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
<h4>
|
||||||
|
<a name="elementsSound" id="elementsSound">Sound devices</a>
|
||||||
|
</h4>
|
||||||
|
<p>
|
||||||
|
A virtual sound card can be attached to the host via the
|
||||||
|
<code>sound</code> element. <span class="since">Since 0.4.3</span>
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
...
|
||||||
|
<sound model='es1370'/>
|
||||||
|
...</pre>
|
||||||
|
<dl><dt><code>sound</code></dt><dd>
|
||||||
|
The <code>sound</code> element has one mandatory attribute,
|
||||||
|
<code>model</code>, which specifies what real sound device is emulated.
|
||||||
|
Valid values are specific to the underlying hypervisor, though typical
|
||||||
|
choices are 'es1370', 'sb16', and 'ac97'
|
||||||
|
(<span class="since">'ac97' only since 0.6.0</span>)
|
||||||
|
</dd></dl>
|
||||||
<h2>
|
<h2>
|
||||||
<a name="examples" id="examples">Example configs</a>
|
<a name="examples" id="examples">Example configs</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
@ -886,6 +886,30 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
</serial>
|
</serial>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h4><a name="elementsSound">Sound devices</a></h4>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
A virtual sound card can be attached to the host via the
|
||||||
|
<code>sound</code> element. <span class="since">Since 0.4.3</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
...
|
||||||
|
<sound model='es1370'/>
|
||||||
|
...</pre>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><code>sound</code></dt>
|
||||||
|
<dd>
|
||||||
|
The <code>sound</code> element has one mandatory attribute,
|
||||||
|
<code>model</code>, which specifies what real sound device is emulated.
|
||||||
|
Valid values are specific to the underlying hypervisor, though typical
|
||||||
|
choices are 'es1370', 'sb16', and 'ac97'
|
||||||
|
(<span class="since">'ac97' only since 0.6.0</span>)
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
<h2><a name="examples">Example configs</a></h2>
|
<h2><a name="examples">Example configs</a></h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user