qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Prevent disk data loss when closing qemu


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] Prevent disk data loss when closing qemu
Date: Tue, 22 May 2012 11:25:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Il 22/05/2012 10:51, Kevin Wolf ha scritto:
> Am 16.05.2012 12:16, schrieb Pavel Dovgaluk:
>> I use qemu under Windows and it has two windows when executes - console and 
>> SDL ones.
>> When I close SDL window main loop function terminates correctly, and when I 
>> close 
>> console window to terminate qemu then the code after main loop is not 
>> executed.
> 
> Is there no way to catch this case and use the regular shutdown
> mechanism there as well?
> 
> I'm not against your patch and it's probably 1.1 material, but there may
> be more shutdown logic that we're missing if you close the console window.

Looks like qemu_ctrl_handler (in os-win32.c) needs to do something like
termsig_handler (in os-posix.c) instead of a plain exit.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]