projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e22cc4
)
acm: Allow remove of labels from suspended domains.
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:37:22 +0000
(09:37 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:37:22 +0000
(09:37 +0100)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 9381ad78c2f0821d531984d134b7ebd6acdcd594..8a97bad326706f20ceffd1a67fadd5c189758fdd 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-2891,9
+2891,9
@@
class XendDomainInfo:
DOM_STATES[state])
return (-xsconstants.XSERR_VM_WRONG_STATE, "", "", 0)
- # Remove security label. Works only for halted domains
+ # Remove security label. Works only for halted
or suspended
domains
if not seclab or seclab == "":
- if state not in [ DOM_STATE_HALTED ]:
+ if state not in [ DOM_STATE_HALTED
, DOM_STATE_SUSPENDED
]:
return (-xsconstants.XSERR_VM_WRONG_STATE, "", "", 0)
if self.info.has_key('security_label'):