|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix error message of xm suspend and xm re
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204194621 0
# Node ID c19044cad1a305a9931b3b62039c13a8d4f1cb62
# Parent e44c6b67a48315f4c0c2cbbefff0465ddb823975
Fix error message of xm suspend and xm resume for Domain-0.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/XendDomain.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r e44c6b67a483 -r c19044cad1a3 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py Thu Feb 28 10:29:25 2008 +0000
+++ b/tools/python/xen/xend/XendDomain.py Thu Feb 28 10:30:21 2008 +0000
@@ -865,7 +865,7 @@ class XendDomain:
raise XendInvalidDomain(domname)
if dominfo.getDomid() == DOM0_ID:
- raise XendError("Cannot save privileged domain %s" % domname)
+ raise XendError("Cannot suspend privileged domain %s" %
domname)
if dominfo._stateGet() != DOM_STATE_RUNNING:
raise VMBadState("Domain is not running",
@@ -910,7 +910,7 @@ class XendDomain:
raise XendInvalidDomain(domname)
if dominfo.getDomid() == DOM0_ID:
- raise XendError("Cannot save privileged domain %s" %
domname)
+ raise XendError("Cannot resume privileged domain %s" %
domname)
if dominfo._stateGet() != XEN_API_VM_POWER_STATE_SUSPENDED:
raise XendError("Cannot resume domain that is not
suspended.")
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix error message of xm suspend and xm resume for Domain-0.,
Xen patchbot-unstable <=
|
|
|
|
|