Fix typos in a error message of the xm save/migrate command
Hi,
I found typos in the error message of the xm save/migrate command. When I tried the xm save/migrate command for Domain-0, I saw the following error messages.
# xm save 0 /home/kanno/dom0.xen Error: int argument required # xm migrate 0 10.124.50.150 Error: int argument required
This patch fixes typos. Output error messages are as follows.
# xm save 0 /home/kanno/dom0.xen Error: Cannot save privileged domain 0 # xm migrate 0 10.124.50.150 Error: Cannot migrate privileged domain 0
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
tools/python/xen/xend/XendDomain.py +2 -2
@@ -405,7 +405,7 @@ class XendDomain: raise XendInvalidDomain(str(domid)) if dominfo.getDomid() == PRIV_DOMAIN: - raise XendError("Cannot migrate privileged domain %i" % domid) + raise XendError("Cannot migrate privileged domain %s" % domid) """ The following call may raise a XendError exception """ dominfo.testMigrateDevices(True, dst)
@@ -435,7 +435,7 @@ class XendDomain: raise XendInvalidDomain(str(domid)) if dominfo.getDomid() == PRIV_DOMAIN: - raise XendError("Cannot save privileged domain %i" % domid) + raise XendError("Cannot save privileged domain %s" % domid) fd = os.open(dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC) try:
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel