From: Greg Price Date: Thu, 5 Feb 2009 18:47:19 +0000 (-0500) Subject: in invirt-remote-listvms, ignore another way VMs can disappear X-Git-Tag: 0.3.3~4 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/commitdiff_plain/8fa7103160f7a8e6663f88be13cb7a40e3032764 in invirt-remote-listvms, ignore another way VMs can disappear svn path=/trunk/packages/invirt-remote/; revision=2098 --- diff --git a/debian/changelog b/debian/changelog index 31aa76a..15474f7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-remote (0.3.2) unstable; urgency=low + + * in invirt-remote-listvms, ignore another way VMs can disappear + + -- Greg Price 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 diff --git a/host/usr/sbin/invirt-listvms b/host/usr/sbin/invirt-listvms index 890931a..c16a883 100755 --- a/host/usr/sbin/invirt-listvms +++ b/host/usr/sbin/invirt-listvms @@ -17,7 +17,7 @@ def live_vms(): 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