projects
/
invirt/packages/invirt-remote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dbbb6
)
fix a race based on rwbarton's error message
author
Greg Price
<price@mit.edu>
Tue, 24 Jun 2008 04:35:17 +0000
(
00:35
-0400)
committer
Greg Price
<price@mit.edu>
Tue, 24 Jun 2008 04:35:17 +0000
(
00:35
-0400)
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=652
files/usr/sbin/sipb-xen-listvms
patch
|
blob
|
history
diff --git
a/files/usr/sbin/sipb-xen-listvms
b/files/usr/sbin/sipb-xen-listvms
index
7f6cb39
..
85e9713
100755
(executable)
--- a/
files/usr/sbin/sipb-xen-listvms
+++ b/
files/usr/sbin/sipb-xen-listvms
@@
-14,7
+14,10
@@
def live_vms():
vms = dict()
for domid in domids:
- name, data = get_dom(int(domid))
+ try:
+ name, data = get_dom(int(domid))
+ except ValueError:
+ pass # went down since we started
if name.startswith('d_'):
name = name[2:]
vms[name] = data