a18ef09a88
virtinst-add-default-rng-device.patch - Fix GUI failure to display addition of a second disk Dropped virtman-device-flags.patch - bnc#885380 - virt-install: by default generates raw format against various virtual disk formats virtinst-supported-disk-formats.patch virtman-supported-disk-formats.patch - Dropped virtinst-qed.patch, virtman-qed.patch - bnc#869026 - Build0198: Unable to complete install: 'XML error: No PCI buses available' virtman-add-s390x-arch-support.patch - Upstream bug fixes 53ac1f8d-createnet-validate-last-page-before-creating-network.patch 53ac1f8d-fix-show_err-typo.patch 53b39a13-dont-create-disk-images-world-readable-executable.patch 53b409bc-add-keep-alive-method-and-connection-check.patch 53b409bd-console-prevent-access-to-deleted-objects.patch 53b728c6-report-error-during-connection-bring-up.patch 53b728c6-connection-handle-unsupported-KeepAlive.patch 53bb1995-network-refresh-XML-definition-on-state-update.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=188
24 lines
888 B
Diff
24 lines
888 B
Diff
Subject: network: refresh the XML definition on state update
|
|
From: Giuseppe Scrivano gscrivan@redhat.com Thu Jul 3 13:55:50 2014 +0200
|
|
Date: Tue Jul 8 00:05:09 2014 +0200:
|
|
Git: cbb18b0e9626faa08d8f017a9e02466e5ba7b767
|
|
|
|
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@redhat.com>
|
|
|
|
Index: virt-manager-1.0.1/virtManager/network.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/network.py
|
|
+++ virt-manager-1.0.1/virtManager/network.py
|
|
@@ -80,6 +80,7 @@ class vmmNetwork(vmmLibvirtObject):
|
|
def _set_active(self, state):
|
|
if state == self._active:
|
|
return
|
|
+ self.refresh_xml()
|
|
self.idle_emit(state and "started" or "stopped")
|
|
self._active = state
|
|
|