From: Dan Smith Subject: [PATCH] Fix re-reboot after reboot and sysrq Date: Thu, 01 Sep 2005 13:40:11 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 Tools Developers , Xen Developers List-Id: xen-devel@lists.xenproject.org --=-=-= The attached patch makes xend clear the reboot request from the store when rebooting a domain. This prevents the lingering request from being re-fulfilled, such as when executing a subsequent sysrq request. Signed-off-by: Dan Smith --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=reboot_fix.patch diff -r af78c9d526e0 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Thu Sep 1 10:45:50 2005 +++ b/tools/python/xen/xend/XendDomainInfo.py Thu Sep 1 13:29:09 2005 @@ -1006,6 +1006,7 @@ """ try: + self.clear_shutdown() self.state = STATE_VM_OK self.shutdown_pending = None self.restart_check() --=-=-= -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com --=-=-= 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 --=-=-=--