sdl: Fix termination in -no-shutdown mode
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 30 Jul 2011 09:39:04 +0000 (11:39 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 5 Aug 2011 15:57:34 +0000 (10:57 -0500)
commit941f511a26ebdfbeb53facc775f30b9d27f3855b
tree0ab8cf96e57c5df6a37256a7bdb1eb6a8ee84142
parent257a7375582e4c3b32687c72d0f52279d28b2d85
sdl: Fix termination in -no-shutdown mode

Just like the monitor does, we need to clear no_shutdown before calling
qemu_system_shutdown_request on quit requests. Otherwise, QEMU just
stops the VM.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/sdl.c