From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HjIND-00030x-GW for qemu-devel@nongnu.org; Wed, 02 May 2007 13:12:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjINB-0002zk-Et for qemu-devel@nongnu.org; Wed, 02 May 2007 13:12:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjINB-0002zh-4i for qemu-devel@nongnu.org; Wed, 02 May 2007 13:12:13 -0400 Received: from wr-out-0506.google.com ([64.233.184.226]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HjIGj-0006k7-UH for qemu-devel@nongnu.org; Wed, 02 May 2007 13:05:34 -0400 Received: by wr-out-0506.google.com with SMTP id i20so384740wra for ; Wed, 02 May 2007 10:05:33 -0700 (PDT) Message-ID: Date: Wed, 2 May 2007 19:05:31 +0200 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] [PATCH] Getting 32-bit Vista on KVM In-Reply-To: <8FFF7E42E93CC646B632AB40643802A802875793@scsmsx412.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8FFF7E42E93CC646B632AB40643802A802875793@scsmsx412.amr.corp.intel.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 Cc: kvm-devel@lists.sourceforge.net Hi, On 02/05/07, Nakajima, Jun wrote: > Now I realized that I needed to use 32-bit Linux to build the bios.bin > (i.e. BIOS-bochs-latest) in bochs. As long as I used x86-64 Linux to > build bios.bin, the resulting binary had a problem, as I reported > previously. A patch for this has been recently posted to Bochs-developers: http://www.nabble.com/-PATCH--add--m32-flag-to-bios-Makefile.in-t3632406.html (the official list archive doesn't seem to work at the moment) > > With this very simple patch, I was able to install and run 32-bit Vista > on KVM (almost the latest tree) on the 64-bit host. Thanks Qing for > debuging this. I believe this should work for Qemu as well. > > Jun > --- > Intel Open Source Technology Center > > Signed-off-by: Qing He > Signed-off-by: Jun Nakajima > > Index: rombios32.c > =================================================================== > RCS file: /cvsroot/bochs/bochs/bios/rombios32.c,v > retrieving revision 1.9 > diff -u -w -r1.9 rombios32.c > --- rombios32.c 20 Feb 2007 09:36:55 -0000 1.9 > +++ rombios32.c 2 May 2007 06:07:31 -0000 > @@ -1191,7 +1191,7 @@ > { > memcpy(h->signature, sig, 4); > h->length = cpu_to_le32(len); > - h->revision = 0; > + h->revision = 1; > #ifdef BX_QEMU > memcpy(h->oem_id, "QEMU ", 6); > memcpy(h->oem_table_id, "QEMU", 4); > > >