[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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>&lt;backend tap='/dev/net/tun' vhost='/dev/net-vhost'/&gt;</b>
+      <b>&lt;backend tap='/dev/net/tun' vhost='/dev/vhost-net'/&gt;</b>
      &lt;driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5'/&gt;
    &lt;/interface&gt;
  &lt;/devices&gt;
--
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

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]