@@ -41,24 +41,6 @@
if self.state != self.STATE_ACTIVE:
return
-@@ -490,11 +490,12 @@
- logging.warn("Unable to list inactive networks")
-
- # check of net devices
-- newPaths = []
-- if self.hal_iface:
-- newPaths = self.hal_iface.FindDeviceByCapability("net")
-- for newPath in newPaths:
-- self._device_added(newPath)
-+ if sleeping == False:
-+ newPaths = []
-+ if self.hal_iface:
-+ newPaths = self.hal_iface.FindDeviceByCapability("net")
-+ for newPath in newPaths:
-+ self._device_added(newPath)
-
- for name in newActiveNetNames:
- net = self.vmm.networkLookupByName(name)
diff -Nuar virt-manager-0.5.3.orig/src/virtManager/engine.py virt-manager-0.5.3/src/virtManager/engine.py
--- virt-manager-0.5.3.orig/src/virtManager/engine.py 2008-02-20 10:23:45.000000000 -0700
+++ virt-manager-0.5.3/src/virtManager/engine.py 2008-02-20 11:51:52.000000000 -0700
|