in invirt-remote-listvms, ignore another way VMs can disappear
authorGreg Price <price@mit.edu>
Thu, 5 Feb 2009 18:47:19 +0000 (13:47 -0500)
committerGreg Price <price@mit.edu>
Thu, 5 Feb 2009 18:47:19 +0000 (13:47 -0500)
svn path=/trunk/packages/invirt-remote/; revision=2098

debian/changelog
host/usr/sbin/invirt-listvms

index 31aa76a..15474f7 100644 (file)
@@ -1,3 +1,9 @@
+invirt-remote (0.3.2) unstable; urgency=low
+
+  * in invirt-remote-listvms, ignore another way VMs can disappear
+
+ -- Greg Price <price@mit.edu>  Thu, 05 Feb 2009 13:43:46 -0500
+
 invirt-remote (0.3.1) unstable; urgency=low
 
   * invirt.remote.bcast: provide stderr text when remctl fails
 invirt-remote (0.3.1) unstable; urgency=low
 
   * invirt.remote.bcast: provide stderr text when remctl fails
index 890931a..c16a883 100755 (executable)
@@ -17,7 +17,7 @@ def live_vms():
             name, data = get_dom(int(domid))
         except (xs.Error, TypeError):
             continue # went down since we started
             name, data = get_dom(int(domid))
         except (xs.Error, TypeError):
             continue # went down since we started
-        if name.startswith('d_'):
+        if name is not None and name.startswith('d_'):
             name = name[2:]
             vms[name] = data
     return vms
             name = name[2:]
             vms[name] = data
     return vms