sdl: Fix termination in -no-shutdown mode
commit68e3508eafd111c050e0a6f4dc8588dbe75d0e1c
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 30 Jul 2011 09:39:04 +0000 (30 11:39 +0200)
committerJustin M. Forbes <jforbes@redhat.com>
Mon, 3 Oct 2011 19:42:24 +0000 (3 14:42 -0500)
treea8e958b0c85a874b2d76d56649b000ca0e955c76
parentfb524042dbc1142406c4d2e5858743c3dc8588c3
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