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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux