qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Suggestion - trap window-close of VM


From: Richard Neill
Subject: [Qemu-devel] Suggestion - trap window-close of VM
Date: Mon, 29 Nov 2004 20:43:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514

Dear All,

A thought that occurred to me. If one is running a virtual machine (eg copy of WinXP), then simply closing the qemu window is a really bad idea, since it will effectively crash the guest.

BUT, given that the user expects to be running an *application* rather than an operating system, the natural thing to do is to close the qemu window, rather than remembering to first do a full shutdown of the guest. This is a very easy mistake to make.

I'd suggest that:

if ((qemu's window is closed from the GUI) and (the guest has not shut down)); then
        qemu should pop up a warning dialog:
                "Are you sure you want to quit - you should really shut
        down the guest first, or you may suffer dataloss [yes] [no]"
fi


Is it possible to know whether the guest has finished shutting down from the CPU state?


Regards

Richard




reply via email to

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