mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docs: document <driver name='vhost'/> for interfaces
* docs/formatdomain.html.in: Document virtio backend selection.
This commit is contained in:
parent
24bfa52e93
commit
94a4b6300c
@ -1388,7 +1388,7 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
<source network='default'/>
|
<source network='default'/>
|
||||||
<target dev='vnet1'/>
|
<target dev='vnet1'/>
|
||||||
<model type='virtio'/>
|
<model type='virtio'/>
|
||||||
<b><driver txmode='iothread'/></b>
|
<b><driver name='vhost' txmode='iothread'/></b>
|
||||||
</interface>
|
</interface>
|
||||||
</devices>
|
</devices>
|
||||||
...</pre>
|
...</pre>
|
||||||
@ -1401,6 +1401,18 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
|
<dt><code>name</code></dt>
|
||||||
|
<dd>
|
||||||
|
The optional <code>name</code> attribute forces which type of
|
||||||
|
backend driver to use. The value can be either 'qemu' (a
|
||||||
|
user-space backend) or 'vhost' (a kernel backend, which
|
||||||
|
requires the vhost module to be provided by the kernel); an
|
||||||
|
attempt to require the vhost driver without kernel support
|
||||||
|
will be rejected. If this attribute is not present, then the
|
||||||
|
domain defaults to 'vhost' if present, but silently falls back
|
||||||
|
to 'qemu' without error.
|
||||||
|
<span class="since">Since 0.8.8 (QEMU and KVM only)</span>
|
||||||
|
</dd>
|
||||||
<dt><code>txmode</code></dt>
|
<dt><code>txmode</code></dt>
|
||||||
<dd>
|
<dd>
|
||||||
The <code>txmode</code> attribute specifies how to handle
|
The <code>txmode</code> attribute specifies how to handle
|
||||||
|
Loading…
Reference in New Issue
Block a user