Skip to contentSkip to conversation

Fix error message of xm suspend for Domain-0

PATCH New Masaki Kanno 1 participant 1 message Feb 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix error message of xm suspend for Domain-0

Hi,

This patch fixes a error message of xm suspend command for Domain-0.

Best regards,
Kan

tools/python/xen/xend/XendDomain.py Thu Feb 28 14:23:39 2008 +0900 renamed from tools/python/xen/xend/XendDomain.py Tue Feb 26 15:11:51 2008 +0000 +1 -1
diff -r 2a8eaba24bf0 tools/python/xen/xend/XendDomain.py
@@ -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",
tools/python/xen/xend/XendDomain.py +1 -1
diff -r 2a8eaba24bf0 tools/python/xen/xend/XendDomain.py
@@ -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",

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel