Skip to contentSkip to conversation

Fix re-reboot after reboot and sysrq

PATCH New Dan Smith 1 participant 1 message Sep 1, 2005

lore
Share & tools
lore

Dan Smith

author
#0 lore raw

PATCH 1/1 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.

tools/python/xen/xend/XendDomainInfo.py +1 -0
diff -r af78c9d526e0 tools/python/xen/xend/XendDomainInfo.py
@@ -1006,6 +1006,7 @@
 
         """
         try:
+            self.clear_shutdown()
             self.state = STATE_VM_OK
             self.shutdown_pending = None
             self.restart_check()
Signature · 5 lines
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel