Shutting down a hvm, xend-debug.log always shows:
Unhandled exception in thread started by
Traceback (most recent call last):
File "//usr/lib64/python/xen/xend/image.py", line 549, in _sentinel_watch
self._dmfailed(message)
File "//usr/lib64/python/xen/xend/image.py", line 491, in _dmfailed
xc.domain_shutdown(self.vm.getDomid(), DOMAIN_CRASH)
xen.lowlevel.xc.Error: (3, 'No such process')
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
diff -r e54eeff2de54 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Fri Mar 27 11:07:11 2009 +0900
+++ b/tools/python/xen/xend/image.py Mon Mar 30 10:26:59 2009 +0900
@@ -488,7 +488,10 @@ class ImageHandler:
def _dmfailed(self, message):
log.warning("domain %s: %s", self.vm.getName(), message)
- xc.domain_shutdown(self.vm.getDomid(), DOMAIN_CRASH)
+ try:
+ xc.domain_shutdown(self.vm.getDomid(), DOMAIN_CRASH)
+ except:
+ pass
def recreate(self):
if self.device_model is None:
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|