From: Eric Blake Date: Tue, 8 Mar 2011 23:35:17 +0000 (-0700) Subject: docs: document for interfaces X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=94a4b6300c577eb487d4d792ee1f18e2ee5548dd;p=libvirt.git docs: document for interfaces * docs/formatdomain.html.in: Document virtio backend selection. --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 0c7c9656da..8307a0d704 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1388,7 +1388,7 @@ qemu-kvm -net nic,model=? /dev/null <source network='default'/> <target dev='vnet1'/> <model type='virtio'/> - <driver txmode='iothread'/> + <driver name='vhost' txmode='iothread'/> </interface> </devices> ... @@ -1401,6 +1401,18 @@ qemu-kvm -net nic,model=? /dev/null

+
name
+
+ The optional name 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. + Since 0.8.8 (QEMU and KVM only) +
txmode
The txmode attribute specifies how to handle