From 94a4b6300c577eb487d4d792ee1f18e2ee5548dd Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 8 Mar 2011 16:35:17 -0700 Subject: [PATCH] docs: document for interfaces * docs/formatdomain.html.in: Document virtio backend selection. --- docs/formatdomain.html.in | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 0c7c9656d..8307a0d70 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 -- 2.39.5