Luiz Capitulino 39b59d2606 Monitor: Return before exiting with 'quit'
This is a new version of the (now reverted) following commit:

0e8d2b5575938b8876a3c4bb66ee13c5d306fb6d

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 that by making do_quit() use
qemu_system_shutdown_request(), so that we exit gracefully.

Thanks to Paolo Bonzini <pbonzini@redhat.com> for suggesting
this solution.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2010-05-19 12:45:54 -03:00
2010-03-30 18:24:49 +00:00
2010-05-18 21:12:48 +02:00
2010-05-14 10:55:58 -05:00
2010-05-18 20:21:00 +02:00
2010-05-07 16:28:10 +00:00
2010-03-06 23:09:28 +01:00
2010-04-09 18:55:56 +02:00
2010-04-09 18:55:56 +02:00
2010-05-17 10:20:05 +02:00
2010-04-28 13:41:14 -03:00
2010-05-19 08:46:10 +02:00
2010-03-19 15:27:38 -05:00
2010-05-11 14:02:22 -03:00
2010-04-25 12:59:33 +00:00
2010-05-14 19:32:21 +00:00
2010-03-21 19:44:06 +00:00
2010-03-17 11:16:15 -05:00
2010-04-01 21:51:59 +02:00
2010-04-01 21:51:59 +02:00
2010-03-01 04:39:50 +00:00
2010-05-19 15:24:17 +02:00
2010-05-11 14:02:21 -03:00
2010-03-29 19:24:00 +00:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-03-06 23:15:30 +01:00
2010-03-06 23:15:30 +01:00
2010-05-18 21:12:48 +02:00
2010-03-21 08:28:47 +00:00
2010-03-19 15:27:27 -05:00
2010-03-19 15:27:27 -05:00
2010-05-03 12:39:12 -05:00
2010-05-11 14:02:22 -03:00
2010-03-18 18:41:49 +00:00
2010-05-17 10:20:04 +02:00
2010-05-03 12:09:48 -05:00
2010-03-29 19:24:00 +00:00
2010-05-15 14:23:31 +00:00
2010-05-19 12:45:54 -03:00
2010-03-14 22:04:50 +01:00
2010-05-10 11:36:03 -05:00
2010-05-03 12:09:47 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%