Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DxvzF-0002DP-My for qemu-devel@nongnu.org; Wed, 27 Jul 2005 20:10:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DxvzB-0002BQ-Ib for qemu-devel@nongnu.org; Wed, 27 Jul 2005 20:10:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxvzB-0002BG-EH for qemu-devel@nongnu.org; Wed, 27 Jul 2005 20:10:53 -0400 Received: from [147.102.222.230] (helo=ulysses.noc.ntua.gr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dxw7l-0001sC-0n for qemu-devel@nongnu.org; Wed, 27 Jul 2005 20:19:45 -0400 Received: from dblab.ece.ntua.gr (ithaca.dbnet.ece.ntua.gr [147.102.12.1]) by ulysses.noc.ntua.gr (8.13.1/8.13.1) with ESMTP id j6S08GwJ074390 for ; Thu, 28 Jul 2005 03:08:16 +0300 (EEST) (envelope-from estama@dblab.ece.ntua.gr) Received: from [147.102.230.128] (ppp-230-128.dialup.ntua.gr [147.102.230.128]) by dblab.ece.ntua.gr (8.13.4/8.13.4) with ESMTP id j6S08FcK020091 for ; Thu, 28 Jul 2005 03:08:15 +0300 Message-ID: <42E827D9.5060609@dblab.ece.ntua.gr> Date: Thu, 28 Jul 2005 03:33:29 +0300 From: Elefterios Stamatogiannakis MIME-Version: 1.0 Subject: Re: [Qemu-devel] KQEMU on Win32 (+patch) References: <42E804E2.8000605@reactos.com> In-Reply-To: <42E804E2.8000605@reactos.com> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit 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 Filip Navara wrote: > > I'm trying to find out why qvm86 crashes the host (instant reboot > when right clicking on some icons on the guest desktop). > > So i thought if it is possible to use some code from kqemu-win32.c to > update qvm86-win32.c > > No, I wrote both of the files and I can honestly tell you that copying > between them will not help. There is one known case where QVM86 on WinNT > platforms crashes the host machine and that's when NOEXECUTE support is > enabled (see boot.ini). The method QVM86 uses for executing the code > involves copying executable code into an allocated page which > unfortunately has the NX bit set. I have an experimental fix for this, > but I need someone with adequate environment (AMD64 and Win XP SP2+) to > test it... Of course host crash can be caused by other bug. > I knew you wrote them both (who else could?). I was (wrongly) thinking that the qvm86 version is older than kqemu but apparently they work differently (thanks for the clarification). As for the NOEXECUTE, i'm testing kqemu and qvm86 on a Athlon XP (regular 32bit, without NX). So the instant reboots must be from something else. > You can compile it yourself on either Windows machine with MinGW or on > linux machine with MinGW cross-compiler. I tried to compile kqemu with MinGW without luck (although i didn't push it much). The error was: kqemu-win32.o(.text+0x217):kqemu-win32.c: undefined reference to `_imp__MmMapIoSpace@16' Probably it is that i don't have the windows driver development kit. I'm temporary hosting a set of > QEMU / KQEMU 0.7.1 for Windows binaries here: > http://www.volny.cz/xnavara/qemu-0.7.1.zip. Do these binaries include your latest patches? teris. ps I cannot imagine how a man can know that much about the windows internals and at the same time be comfortable working with linux device drivers stuff.