mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +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>
|
||||
|
||||
Use virAsprintf, rather than VIR_ALLOC + strcpy + strcat
|
||||
|
@ -183,6 +183,8 @@
|
||||
</li><li>
|
||||
<a href="#elementsCharUNIX">UNIX domain socket client/server</a>
|
||||
</li></ul>
|
||||
</li><li>
|
||||
<a href="#elementsSound">Sound devices</a>
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
</li><li>
|
||||
@ -916,6 +918,24 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
<target port="1"/>
|
||||
</serial>
|
||||
...</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>
|
||||
<a name="examples" id="examples">Example configs</a>
|
||||
</h2>
|
||||
|
@ -886,6 +886,30 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
</serial>
|
||||
...</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>
|
||||
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user