[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix re-reboot after reboot and sysrq



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 <danms@xxxxxxxxxx>
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@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.