Fix xm migrate error message when trying to migrate domain 0.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
Ewan Mellor committed 2006-11-16 10:25:23 +00:00
1 parent 3e7ce38dce
commit 016e7e1c8c
1 file changed
+1 -1
+1 -1
View File
@@ -1049,7 +1049,7 @@ class XendDomain:
raise XendInvalidDomain(str(domid))
if dominfo.getDomid() == DOM0_ID:
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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.