From: Peter Krempa
Date: Tue, 6 Sep 2011 08:08:15 +0000 (+0800)
Subject: link-state: conf: Add element to XML for controling link state
X-Git-Tag: v0.9.5-rc1~5
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd1295e1da6bfe8e4e257e5fbfad71ac0bf7c87;p=thirdparty%2Flibvirt.git
link-state: conf: Add element to XML for controling link state
A new element is introduced to XML that allows to control
state of virtual network interfaces in hypervisors.
Live modification of the link state allows networking tools
propagate topology changes to guest OS or testing of
scenarios in complex (virtual) networks.
This patch adds elements to XML grammars and parsing and generating
code.
---
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 54e81b0d9e..0a7abafac4 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -2131,6 +2131,27 @@ qemu-kvm -net nic,model=? /dev/null
Since 0.9.4
+ This element provides means of setting state of the virtual network link.
+ Possible values for attribute state are up and
+ down. If down is specified as the value, the interface
+ behaves as if it had the network cable disconnected. Default behavior if this
+ element is unspecified is to have the link state up.
+ Since 0.9.5
+