From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGPvQ-00059i-Ny for qemu-devel@nongnu.org; Tue, 29 Mar 2005 18:15:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGPvE-000535-Ac for qemu-devel@nongnu.org; Tue, 29 Mar 2005 18:15:02 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGPvB-0004zq-2F for qemu-devel@nongnu.org; Tue, 29 Mar 2005 18:14:53 -0500 Received: from [65.74.133.9] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DGPZS-0005j7-5i for qemu-devel@nongnu.org; Tue, 29 Mar 2005 17:52:26 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Re: Suggestion - trap window-close of VM Date: Tue, 29 Mar 2005 23:52:19 +0100 References: <4247EBB0.6090409@praguespringpeople.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503292352.20141.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > This isn't working quite right for me with a Windows 98 guest -- it > traps the attempt to close the window all right, but it doesn't let > the window close even when Window 98 has in fact shut down. As far as qemu is concerned there's nothing special about windows being "shut down". ie. it's not possible to tell if windows is doing something useful, or just sitting there waiting for you to turn it off. > I wonder > whether this is related to the "Windows 98 doesn't use the HLT > instruction" problem that is noted elsewhere (since that apparently > doesn't affect Windows 2000). No. the HLT thing is just windows 9x being crap. It also happens on real hardware. In theory windows should be able to "turn off" qemu using APM, like it does on real machines. However there seem to be bugs in the qemu implementation that stop this working. Paul