mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
3e7ce38dce
commit
016e7e1c8c
1 file changed
+1
-1
@@ -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)
|
||||
|
||||