|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Save the old domid when restarting, as it
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 5c5b03381d3c3e47067be76f097a7c71f2e53eed
# Parent 1fcdb3a35db32e1ae1835d1bb1a07f1e78337739
Save the old domid when restarting, as it may get wiped out before we need to
log it (on restart failure).
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -r 1fcdb3a35db3 -r 5c5b03381d3c tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Wed Nov 08 10:48:55 2006 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py Wed Nov 08 11:08:18 2006 +0000
@@ -994,6 +994,7 @@ class XendDomainInfo:
self.destroy()
return
+ old_domid = self.domid
self._writeVm(RESTART_IN_PROGRESS, 'True')
now = time.time()
@@ -1040,7 +1041,7 @@ class XendDomainInfo:
self._removeVm(RESTART_IN_PROGRESS)
raise
except:
- log.exception('Failed to restart domain %s.', str(self.domid))
+ log.exception('Failed to restart domain %s.', str(old_domid))
def getSysMem(self):
info = dom_get(self.domid)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Save the old domid when restarting, as it may get wiped out before we need to,
Xen patchbot-unstable <=
|
|
|
|
|