[virt-tools-list] [PATCH virt-manager 2/2] network: refresh the XML definition on state update
Giuseppe Scrivano
gscrivan at redhat.com
Thu Jul 3 12:13:55 UTC 2014
The XML definition returned by libvirt can change on a state
transition. vmmNetwork.force_update_status invalidates the old
definition.
Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
virtManager/network.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/virtManager/network.py b/virtManager/network.py
index 4ad4c94..ad1102f 100644
--- a/virtManager/network.py
+++ b/virtManager/network.py
@@ -87,6 +87,7 @@ class vmmNetwork(vmmLibvirtObject):
return
try:
+ self.refresh_xml()
self._set_active(self._backend_get_active())
except:
logging.debug("force_update_status: Triggering network "
--
1.9.3
More information about the virt-tools-list
mailing list