All of lore.kernel.org
 help / color / mirror / Atom feed
From: "consul" <consul@collegeclub.com>
To: qemu-devel@nongnu.org
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: [PATCH] Getting 32-bit Vista on KVM
Date: Wed, 2 May 2007 14:26:10 -0700	[thread overview]
Message-ID: <f1avll$ug6$1@sea.gmane.org> (raw)
In-Reply-To: 8FFF7E42E93CC646B632AB40643802A802875793@scsmsx412.amr.corp.intel.com

With this patch I am little farther installing Vista, however install still 
crashes with BSOD
PAGE_FAULT_IN_NONPAGED_AREA


"Nakajima, Jun" <jun.nakajima@intel.com> 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 <qing.he@intel.com>
> Signed-off-by: Jun Nakajima 
> <jun.nakajima@intel.com>
>
> 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/ 

WARNING: multiple messages have this Message-ID (diff)
From: "consul" <consul@collegeclub.com>
To: qemu-devel@nongnu.org
Cc: kvm-devel@lists.sourceforge.net
Subject: [Qemu-devel] Re: [PATCH] Getting 32-bit Vista on KVM
Date: Wed, 2 May 2007 14:26:10 -0700	[thread overview]
Message-ID: <f1avll$ug6$1@sea.gmane.org> (raw)
In-Reply-To: 8FFF7E42E93CC646B632AB40643802A802875793@scsmsx412.amr.corp.intel.com

With this patch I am little farther installing Vista, however install still 
crashes with BSOD
PAGE_FAULT_IN_NONPAGED_AREA


"Nakajima, Jun" <jun.nakajima@intel.com> 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 <qing.he@intel.com>
> Signed-off-by: Jun Nakajima 
> <jun.nakajima@intel.com>
>
> 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/ 

  parent reply	other threads:[~2007-05-02 21:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-02  6:24 [PATCH] Getting 32-bit Vista on KVM Nakajima, Jun
2007-05-02  6:24 ` [Qemu-devel] " Nakajima, Jun
     [not found] ` <8FFF7E42E93CC646B632AB40643802A802875793-1a9uaKK1+wJcIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-05-02 17:05   ` andrzej zaborowski
2007-05-02 17:05     ` andrzej zaborowski
     [not found]     ` <fb249edb0705021005x3644a552kd13b3c56fe771bad-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-05-02 18:53       ` Nakajima, Jun
2007-05-02 18:53         ` [kvm-devel] " Nakajima, Jun
2007-05-02 21:26 ` consul [this message]
2007-05-02 21:26   ` [Qemu-devel] " consul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f1avll$ug6$1@sea.gmane.org' \
    --to=consul@collegeclub.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.