qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Getting 32-bit Vista on KVM
@ 2007-05-02  6:24 Nakajima, Jun
  2007-05-02 17:05 ` andrzej zaborowski
  2007-05-02 21:26 ` [Qemu-devel] " consul
  0 siblings, 2 replies; 4+ messages in thread
From: Nakajima, Jun @ 2007-05-02  6:24 UTC (permalink / raw)
  To: kvm-devel; +Cc: qemu-devel

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);

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] Getting 32-bit Vista on KVM
  2007-05-02  6:24 [Qemu-devel] [PATCH] Getting 32-bit Vista on KVM Nakajima, Jun
@ 2007-05-02 17:05 ` andrzej zaborowski
  2007-05-02 18:53   ` [kvm-devel] " Nakajima, Jun
  2007-05-02 21:26 ` [Qemu-devel] " consul
  1 sibling, 1 reply; 4+ messages in thread
From: andrzej zaborowski @ 2007-05-02 17:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel

Hi,

On 02/05/07, Nakajima, Jun <jun.nakajima@intel.com> 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 <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);
>
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [kvm-devel] [Qemu-devel] [PATCH] Getting 32-bit Vista on KVM
  2007-05-02 17:05 ` andrzej zaborowski
@ 2007-05-02 18:53   ` Nakajima, Jun
  0 siblings, 0 replies; 4+ messages in thread
From: Nakajima, Jun @ 2007-05-02 18:53 UTC (permalink / raw)
  To: andrzej zaborowski, qemu-devel; +Cc: kvm-devel

andrzej zaborowski wrote:
> Hi,
> 
> On 02/05/07, Nakajima, Jun <jun.nakajima@intel.com> 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)
> 
Thanks!

Jun
---
Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: [PATCH] Getting 32-bit Vista on KVM
  2007-05-02  6:24 [Qemu-devel] [PATCH] Getting 32-bit Vista on KVM Nakajima, Jun
  2007-05-02 17:05 ` andrzej zaborowski
@ 2007-05-02 21:26 ` consul
  1 sibling, 0 replies; 4+ messages in thread
From: consul @ 2007-05-02 21:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel

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/ 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-02 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02  6:24 [Qemu-devel] [PATCH] Getting 32-bit Vista on KVM Nakajima, Jun
2007-05-02 17:05 ` andrzej zaborowski
2007-05-02 18:53   ` [kvm-devel] " Nakajima, Jun
2007-05-02 21:26 ` [Qemu-devel] " consul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).