Re: [Qemu-devel] [PATCH] Monitor: Return before exiting with 'quit'

2010-04-20 Thread Markus Armbruster
Luiz Capitulino writes: > The 'quit' Monitor command (implemented by do_quit()) calls > exit() directly, this is problematic under QMP because QEMU > exits before having a chance to send the ok response. > > Clients don't know if QEMU exited because of a problem or > because the 'quit' command ha

[Qemu-devel] [PATCH] Monitor: Return before exiting with 'quit'

2010-04-07 Thread Luiz Capitulino
The 'quit' Monitor command (implemented by do_quit()) calls exit() directly, this is problematic under QMP because QEMU exits before having a chance to send the ok response. Clients don't know if QEMU exited because of a problem or because the 'quit' command has been executed. This commit fixes t