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