[et-mgmt-tools] About a solution to operate the virt-manager inchangeset 436

Takahashi Tomohiro takatom at jp.fujitsu.com
Thu Mar 22 13:01:30 UTC 2007


Hi,

I solved this issue by following fixes.

Thanks
Tomohiro Takahashi.

--- virt-manager--devel.orig/src/virtManager/connection.py      2007-03-22 
15:12:00.000000000 +0900
+++ virt-manager--devel/src/virtManager/connection.py   2007-03-22 
19:53:56.000000000 +0900
@@ -147,11 +147,12 @@ class vmmConnection(gobject.GObject):
     def tick(self, noStatsUpdate=False):
         if self.vmm == None:
             return
-
-        for name in self.vmm.listNetworks():
-            net = self.vmm.networkLookupByName(name)
-            uuid = self.uuidstr(net.UUID())
-            self.nets[uuid] = vmmNetwork(self.config, self, net, uuid)
+        for n in iter(dir(self.vmm)):
+            if n == "listNetworks":
+                for name in self.vmm.listNetworks():
+                    net = self.vmm.networkLookupByName(name)
+                    uuid = self.uuidstr(net.UUID())
+                    self.nets[uuid] = vmmNetwork(self.config, self, net, 
uuid)

         oldActiveIDs = {}
         oldInactiveNames = {}


> I could't operate the virt-manager in changeset 436.
> when It was connecting Xen hypervisor





More information about the et-mgmt-tools mailing list