From: Masaki Kanno Subject: Question: xm reboot and waitForDevices Date: Thu, 06 Sep 2007 17:07:52 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hi, Why does not xm reboot command call waitForDevices()? Is the following patch correct? Signed-off-by: Masaki Kanno diff -r 256160ff19b7 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Thu Aug 16 13:27:59 2007 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Thu Sep 06 16:56:27 2007 +0900 @@ -1306,6 +1306,7 @@ class XendDomainInfo: try: new_dom = XendDomain.instance().domain_create_from_dict( self.info) + new_dom.waitForDevices() new_dom.unpause() rst_cnt = self._readVm('xend/restart_count') rst_cnt = int(rst_cnt) + 1 Best regards, Kan