John Morris wrote:
On Mon, 2006-10-23 at 05:45, Xavier Gnata wrote:
Hi,
I have been asked to disable the capability to close qemu by clicking on the SDL window x icon.
Any comments?

Totally disabling close is pretty drastic.  When the VM has went wrong
closing it is a valid option.  How about trapping close and throwing up
an "Are you sure?" dialog?  Give enough info to let a new user know that
clicking the "Yes" button might corrupt the VM's filesystem and cause
other permanent data loss.

Well, it is not too drastic because my patch only adds an option. You can just ignore this -no-quit option. A popup would be good solution but sdl API does not offer a way to deal with that :(
sdl is not done to implement buttons and so on.
An osd could be a solution but do we really need that? Not sure.
Please note that is something went wrong with the OS running under qeum -no-quit, you can still just (x)kill qemu. Simple.
Any comments ?

--
############################################
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED]
############################################


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to