[libvirt] [PATCH 2/2] docs: route element must specify network address

Chen Fan chen.fan.fnst at cn.fujitsu.com
Wed Mar 25 03:48:04 UTC 2015


because network address is required by route, so
here we should add one avoid user misunderstand.

Signed-off-by: Chen Fan <chen.fan.fnst at cn.fujitsu.com>
---
 docs/formatdomain.html.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 3b3d2d9..d7fe942 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -4472,7 +4472,7 @@ qemu-kvm -net nic,model=? /dev/null
       <target dev='vnet0'/>
       <b><ip address='192.168.122.5' prefix='24'/></b>
       <b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
-      <b><route family='ipv4' gateway='192.168.122.1'/></b>
+      <b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
     </interface>
     ...
     <hostdev mode='capabilities' type='net'>
@@ -4481,7 +4481,7 @@ qemu-kvm -net nic,model=? /dev/null
       </source>
       <b><ip address='192.168.122.6' prefix='24'/></b>
       <b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
-      <b><route family='ipv4' gateway='192.168.122.1'/></b>
+      <b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
     </hostdev>
 
   </devices>
-- 
1.9.3




More information about the libvir-list mailing list