From mboxrd@z Thu Jan 1 00:00:00 1970 From: "consul" Subject: Re: [PATCH] Getting 32-bit Vista on KVM Date: Wed, 2 May 2007 14:26:10 -0700 Message-ID: References: <8FFF7E42E93CC646B632AB40643802A802875793@scsmsx412.amr.corp.intel.com> Reply-To: qemu-devel@nongnu.org Cc: kvm-devel@lists.sourceforge.net To: qemu-devel@nongnu.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org With this patch I am little farther installing Vista, however install still crashes with BSOD PAGE_FAULT_IN_NONPAGED_AREA "Nakajima, Jun" wrote in message news:8FFF7E42E93CC646B632AB40643802A802875793@scsmsx412.amr.corp.intel.com... > 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. > > 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); > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/