[libvirt] [PATCHv5 08/18] IP doc

Cédric Bosdonnat cbosdonnat at suse.com
Tue Dec 30 10:27:17 UTC 2014


---
 docs/formatdomain.html.in | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 9261f24..a17cd8b 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -4328,18 +4328,19 @@ qemu-kvm -net nic,model=? /dev/null
     <interface type='network'>
       <source network='default'/>
       <target dev='vnet0'/>
-      <b><ip address='192.168.122.5' prefix='24'/></b>
+      <b><ip family='ipv4' address='192.168.122.5' prefix='24'/></b>
     </interface>
   </devices>
   ...
 </pre>
 
     <p>
-    <span class="since">Since 1.2.10</span> the network devices can be provided
-    zero or more IP addresses to set
+    <span class="since">Since 1.2.12</span> the network devices and host devices
+    with network capabilities can be provided zero or more IP addresses to set
     on the target device. Note that some hypervisors or network device types
-    will simply ignore them or only use the first one. The <code>address</code>
-    attribute can hold either an IPv4 or IPv6 address. The <code>prefix</code>
+    will simply ignore them or only use the first one. The <code>family</code>
+    attribute can be set to either <code>ipv4</code> or <code>ipv6</code>, the
+    <code>address</code> attribute holds the IP address. The <code>prefix</code>
     is not mandatory since some hypervisors do not handle it.
     </p>
 
-- 
2.1.2




More information about the libvir-list mailing list