mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: less noise in xend-debug.log on HVM shutdown
Shutting down a hvm, xend-debug.log always shows:
Unhandled exception in thread started by=20
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@jp.fujitsu.com>
This commit is contained in:
1 parent
55ec31da6c
commit
f94d6532fc
1 file changed
+4
-1
@@ -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:
|
||||
|
||||