From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIyNd-0003Lp-4y for qemu-devel@nongnu.org; Tue, 05 Apr 2005 20:26:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIyNZ-0003Io-VW for qemu-devel@nongnu.org; Tue, 05 Apr 2005 20:26:46 -0400 Received: from [216.58.162.138] (helo=netraverse.com) by monty-python.gnu.org with esmtp (SSL 3.0:RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DIynR-0006eo-V1 for qemu-devel@nongnu.org; Tue, 05 Apr 2005 20:53:30 -0400 Received: from [69.165.224.96] (account lreiter HELO [10.1.0.1]) by netraverse.com (CommuniGate Pro SMTP 4.0.5) with ESMTP-TLS id 5483002 for qemu-devel@nongnu.org; Tue, 05 Apr 2005 18:09:40 -0600 Message-ID: <425332E8.5050904@win4lin.com> Date: Tue, 05 Apr 2005 20:52:56 -0400 From: "Leonardo E. Reiter" MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Windows 2000 SP4 References: <200504042326.56227.imcfarla@ntlworld.com> <200504051834.18488.info@vruppert.de> <200504052205.22932.imcfarla@ntlworld.com> <42530416.30105@win4lin.com> <41e41e7a05040515574be4d5c6@mail.gmail.com> <4253192C.8070600@win4lin.com> <41e41e7a0504051648624ed412@mail.gmail.com> In-Reply-To: <41e41e7a0504051648624ed412@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; 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 Hetz, sorry, please disregard my last message as I misunderstood what you were saying. Windows 2000 can't run in target-sparc anyway. So here's how you can fix it - this is based on the very latest CVS tree by the way... Insert a line right after line 2589 in vl.c that reads as follows: #ifdef TARGET_I386 then insert a line right after line 2596 that reads as follows: #endif That will essentially make the patch active only for target-i386. Compilation with target sparc-softmmu now works fine. Best regards, Leo Reiter Hetz Ben Hamo wrote: > Thanks for the patch Leonardo... > > Indeed, the patch seems to apply with some hunks (I suck at C > programming :), and fails to buid with qemu with a compile error on > the SPARC part of the emulation (Blue swirl, did you see the error?) > > Does anyone else have a better solution other then patching and > unpatching QEMU to install and use Windows 2000? > > Thanks, > Hetz -- Leonardo E. Reiter Vice President of Engineering Win4Lin, Inc. Virtual Computing from Desktop to Data Center Main: +1 512 339 7979 Fax: +1 512 532 6501 http://www.win4lin.com