From: Kouya Shimura Subject: [PATCH] xend: quiet xend-debug.log Date: Mon, 30 Mar 2009 17:19:46 +0900 Message-ID: <7k7i27778d.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="iFuaRNWs/h" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --iFuaRNWs/h Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit 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 --iFuaRNWs/h Content-Type: text/x-patch Content-Disposition: inline; filename="quiet-xend-debug.log.patch" Content-Transfer-Encoding: 7bit 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: --iFuaRNWs/h Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --iFuaRNWs/h--