Skip to contentSkip to conversation

Fix error message of xm resume 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 resume for Domain-0

Hi,

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

Best regards,
Kan

tools/python/xen/xend/XendDomain.py Thu Feb 28 14:01:57 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
@@ -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.")
tools/python/xen/xend/XendDomain.py +1 -1
diff -r 2a8eaba24bf0 tools/python/xen/xend/XendDomain.py
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel