[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [Qemu-devel] [PATCH 01/11] Handle terminating signals.



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/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.