[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/11] Handle terminating signals.
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 01/11] Handle terminating signals. |
Date: |
Mon, 11 Aug 2008 21:52:54 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080723) |
Anthony Liguori wrote:
>> --- a/sdl.c
>> +++ b/sdl.c
>> @@ -476,10 +476,8 @@ static void sdl_refresh(DisplayState *ds)
>> sdl_process_key(&ev->key);
>> break;
>> case SDL_QUIT:
>> - if (!no_quit) {
>> + if (!no_quit)
>> qemu_system_shutdown_request();
>> - vm_start(); /* In case we're paused */
>>
>
> I'm curious why this is no longer needed?
To avoid calling vm_start() from the signal handler main_loop() got an
additional check so qemu_system_shutdown_request() works even when the
vm is in stopped state.
[ Hmm, cut&paste -> changelog I guess ... ]
cheers,
Gerd
--
http://kraxel.fedorapeople.org/xenner/
- [Qemu-devel] [PATCH 00/11] merge some xen bits into qemu, Gerd Hoffmann, 2008/08/11
- [Qemu-devel] [PATCH 04/11] move GUI_REFRESH_INTERVAL define from vl.c to console.h, Gerd Hoffmann, 2008/08/11
- [Qemu-devel] [PATCH 03/11] add container_of() macro to osdep.h, Gerd Hoffmann, 2008/08/11
- [Qemu-devel] [PATCH 05/11] xen: groundwork for xen support, Gerd Hoffmann, 2008/08/11
- [Qemu-devel] [PATCH 02/11] add DisplayState->idle, Gerd Hoffmann, 2008/08/11
- [Qemu-devel] [PATCH 06/11] xen: backend driver core, Gerd Hoffmann, 2008/08/11
- [Qemu-devel] [PATCH 07/11] xen: add console backend driver., Gerd Hoffmann, 2008/08/11