[libvirt] [PATCH] docs: vhost-net should instead of net-vhost

Martin Kletzander mkletzan at redhat.com
Mon Sep 22 14:39:11 UTC 2014


On Mon, Sep 22, 2014 at 09:12:18PM +0800, Jianwei Hu wrote:
>     It's a minor typo issue, /dev/vhost-net is a default device.
>     # ll /dev/vhost-net
>     crw-------. 1 root root 10, 238 Sep 22 20:30 /dev/vhost-net
>---
> docs/formatdomain.html.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
>index 5e2b65a..eefdd5e 100644
>--- a/docs/formatdomain.html.in
>+++ b/docs/formatdomain.html.in
>@@ -3989,7 +3989,7 @@ qemu-kvm -net nic,model=? /dev/null
>       <source network='default'/>
>       <target dev='vnet1'/>
>       <model type='virtio'/>
>-      <b><backend tap='/dev/net/tun' vhost='/dev/net-vhost'/></b>
>+      <b><backend tap='/dev/net/tun' vhost='/dev/vhost-net'/></b>
>       <driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5'/>
>     </interface>
>   </devices>
>--
>1.8.3.1
>

It doesn't necessarily have to mention the default values as for
defaults the usage doesn't even make sense, but it is there for the
tap attribute, so it's nice to be consistent.

ACK && will push in a while with modified commit message (the current
one doesn't make much sense right now).

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140922/eb4e4c39/attachment-0001.sig>


More information about the libvir-list mailing list