ia64/xen-unstable

changeset 12601:3b961863062d

Cope with non-integer domids (i.e. None) in the error message surrounding
save/restore.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Mon Nov 27 20:04:20 2006 +0000 (2006-11-27)
parents 9d6bc06919e0
children 658b9c47db98
files tools/python/xen/xend/XendCheckpoint.py
line diff
     1.1 --- a/tools/python/xen/xend/XendCheckpoint.py	Mon Nov 27 17:49:41 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendCheckpoint.py	Mon Nov 27 20:04:20 2006 +0000
     1.3 @@ -100,7 +100,7 @@ def save(fd, dominfo, network, live, dst
     1.4          dominfo.setName(domain_name)
     1.5  
     1.6      except Exception, exn:
     1.7 -        log.exception("Save failed on domain %s (%d).", domain_name,
     1.8 +        log.exception("Save failed on domain %s (%s).", domain_name,
     1.9                        dominfo.getDomid())
    1.10          try:
    1.11              dominfo.setName(domain_name)