Modified invirt-availability and invirt-vmcontrol to stat /etc/invirt/nocreate.
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-listvms
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
-        if name.startswith('d_'):
+        if name is not None and name.startswith('d_'):
             name = name[2:]
             vms[name] = data
     return vms