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

[Xen-devel] [PATCH] ioemu-remote: check shutdown_requested timely.



After a recent merge of the ioemu-remote tree several weeks ago, I find in 
main() -> termsig_seup(), ioemu sets a SIGHUP handler that sets a global 
variable shutdown_requested to 1, but ioemu doesn't check the variable and as a 
result, ioemu wouldn't terminate when xend sends a SIGHUP to it; finally xend 
has to send a SIGKILL to it in 10 seconds. The small patch adds a check to 
terminate ioemu timely.     

Thanks,
-- Dexuan

Attachment: detect_qemu_shutdown_requested.patch
Description: detect_qemu_shutdown_requested.patch

_______________________________________________
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®.