ia64/xen-unstable

changeset 12484:989fd189f529

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

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Nov 16 10:25:23 2006 +0000 (2006-11-16)
parents ba84d697b1ea
children 76e5bf49cb37
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Thu Nov 16 08:56:58 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Thu Nov 16 10:25:23 2006 +0000
     1.3 @@ -1049,7 +1049,7 @@ class XendDomain:
     1.4              raise XendInvalidDomain(str(domid))
     1.5  
     1.6          if dominfo.getDomid() == DOM0_ID:
     1.7 -            raise XendError("Cannot migrate privileged domain %i" % domid)
     1.8 +            raise XendError("Cannot migrate privileged domain %s" % domid)
     1.9  
    1.10          """ The following call may raise a XendError exception """
    1.11          dominfo.testMigrateDevices(True, dst)