mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Cope with non-integer domids (i.e. None) in the error message surrounding
save/restore. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
da38d1f64b
commit
1c06df3dbb
1 file changed
+1
-1
@@ -100,7 +100,7 @@ def save(fd, dominfo, network, live, dst):
|
||||
dominfo.setName(domain_name)
|
||||
|
||||
except Exception, exn:
|
||||
log.exception("Save failed on domain %s (%d).", domain_name,
|
||||
log.exception("Save failed on domain %s (%s).", domain_name,
|
||||
dominfo.getDomid())
|
||||
try:
|
||||
dominfo.setName(domain_name)
|
||||
|
||||