qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS?
@ 2007-04-30 19:04 Nakajima, Jun
  2007-04-30 19:11 ` Paul Brook
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Nakajima, Jun @ 2007-04-30 19:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel

We found a way to get 32-bit Vista up on KVM by fixing bios.bin. And I
think it should be helpful to qemu as well. However, I'm not sure if the
binary file has been created simply by applying bios.diff to the latest
bochs CVS tree (actually I doubt it). Can somebody provide a recipe for
creating bios.bin from the bochs tree so that we can make a patch?

Thanks,
Jun
---
Intel Open Source Technology Center 

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

* Re: [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS?
  2007-04-30 19:04 [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS? Nakajima, Jun
@ 2007-04-30 19:11 ` Paul Brook
  2007-04-30 19:42   ` Anthony Liguori
                     ` (2 more replies)
  2007-05-01  8:52 ` [Qemu-devel] Re: [kvm-devel] " Gilad Ben-Yossef
  2007-05-01 22:09 ` [Qemu-devel] Re: Fixing ACPI for Vista -- Source code for bios.bin vs.bochs CVS? consul
  2 siblings, 3 replies; 7+ messages in thread
From: Paul Brook @ 2007-04-30 19:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel, Nakajima, Jun

On Monday 30 April 2007, Nakajima, Jun wrote:
> We found a way to get 32-bit Vista up on KVM by fixing bios.bin. And I
> think it should be helpful to qemu as well. However, I'm not sure if the
> binary file has been created simply by applying bios.diff to the latest
> bochs CVS tree (actually I doubt it).

What makes you think this won't work? Have you tried it?

Paul

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

* Re: [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS?
  2007-04-30 19:11 ` Paul Brook
@ 2007-04-30 19:42   ` Anthony Liguori
  2007-04-30 22:40   ` Nakajima, Jun
  2007-05-01  6:42   ` [kvm-devel] " Avi Kivity
  2 siblings, 0 replies; 7+ messages in thread
From: Anthony Liguori @ 2007-04-30 19:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel, Nakajima, Jun

Paul Brook wrote:
> On Monday 30 April 2007, Nakajima, Jun wrote:
>   
>> We found a way to get 32-bit Vista up on KVM by fixing bios.bin. And I
>> think it should be helpful to qemu as well. However, I'm not sure if the
>> binary file has been created simply by applying bios.diff to the latest
>> bochs CVS tree (actually I doubt it).
>>     
>
> What makes you think this won't work? Have you tried it?
>   

This has worked for me in the past.

Regards,

Anthony Liguori

> Paul
>
>
>
>   

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

* RE: [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS?
  2007-04-30 19:11 ` Paul Brook
  2007-04-30 19:42   ` Anthony Liguori
@ 2007-04-30 22:40   ` Nakajima, Jun
  2007-05-01  6:42   ` [kvm-devel] " Avi Kivity
  2 siblings, 0 replies; 7+ messages in thread
From: Nakajima, Jun @ 2007-04-30 22:40 UTC (permalink / raw)
  To: Paul Brook, qemu-devel; +Cc: kvm-devel

Paul Brook wrote:
> On Monday 30 April 2007, Nakajima, Jun wrote:
>> We found a way to get 32-bit Vista up on KVM by fixing bios.bin. And
>> I think it should be helpful to qemu as well. However, I'm not sure
>> if the binary file has been created simply by applying bios.diff to
>> the latest bochs CVS tree (actually I doubt it).
> 
> What makes you think this won't work? Have you tried it?
> 
Yes, I did, and that did not work.

If I try like
$ strings bios.bin |grep QEMU
Then I get different ones (I had more QEMU occurrences on the bochs
side). So I suspected they were built from difference sources. But I'll
double-check.

> Paul

Jun
---
Intel Open Source Technology Center

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

* Re: [kvm-devel] [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS?
  2007-04-30 19:11 ` Paul Brook
  2007-04-30 19:42   ` Anthony Liguori
  2007-04-30 22:40   ` Nakajima, Jun
@ 2007-05-01  6:42   ` Avi Kivity
  2 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2007-05-01  6:42 UTC (permalink / raw)
  To: Paul Brook; +Cc: kvm-devel, qemu-devel

Paul Brook wrote:
> On Monday 30 April 2007, Nakajima, Jun wrote:
>   
>> We found a way to get 32-bit Vista up on KVM by fixing bios.bin. And I
>> think it should be helpful to qemu as well. However, I'm not sure if the
>> binary file has been created simply by applying bios.diff to the latest
>> bochs CVS tree (actually I doubt it).
>>     
>
> What makes you think this won't work? Have you tried it?
>
>   

Regardless of whether it works or not, it would be nice to have a file 
in qemu/pc-bios detailing the revision numbers of the sources taken from 
bochs, synced on each update.  Something like the output of

    cvs status | awk '/^File:/ { file = $2 } /^   Working revision:/ { 
printf("%-20s %s\n", file, $3) }'


-- 
error compiling committee.c: too many arguments to function

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

* [Qemu-devel] Re: [kvm-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS?
  2007-04-30 19:04 [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS? Nakajima, Jun
  2007-04-30 19:11 ` Paul Brook
@ 2007-05-01  8:52 ` Gilad Ben-Yossef
  2007-05-01 22:09 ` [Qemu-devel] Re: Fixing ACPI for Vista -- Source code for bios.bin vs.bochs CVS? consul
  2 siblings, 0 replies; 7+ messages in thread
From: Gilad Ben-Yossef @ 2007-05-01  8:52 UTC (permalink / raw)
  To: Nakajima, Jun; +Cc: kvm-devel, qemu-devel

Howdie,

Nakajima, Jun wrote:
> We found a way to get 32-bit Vista up on KVM by fixing bios.bin. And I
> think it should be helpful to qemu as well. However, I'm not sure if the
> binary file has been created simply by applying bios.diff to the latest
> bochs CVS tree (actually I doubt it). Can somebody provide a recipe for
> creating bios.bin from the bochs tree so that we can make a patch?
> 

While we wait patiently for the patch, would you mind putting the patched bios.bin somewhere accessible (or sending it 
to me in private email and I'll put it somewhere accessible)?

There's a bunch of geeks here that would really like to best test this... :-)

Thanks!
Gilad

-- 
Gilad Ben-Yossef <gilad@codefidence.com>
Codefidence. A name you can trust(tm)
http://www.codefidence.com
Phone: +972.3.7515563 ext. 201  | Cellular: +972.52.8260388
SIP: gilad@pbx.codefidence.com	| Fax: +972.3.7515503

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

* [Qemu-devel] Re: Fixing ACPI for Vista -- Source code for bios.bin vs.bochs CVS?
  2007-04-30 19:04 [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS? Nakajima, Jun
  2007-04-30 19:11 ` Paul Brook
  2007-05-01  8:52 ` [Qemu-devel] Re: [kvm-devel] " Gilad Ben-Yossef
@ 2007-05-01 22:09 ` consul
  2 siblings, 0 replies; 7+ messages in thread
From: consul @ 2007-05-01 22:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel

I added -fno-stack-protector into the line 103 of the makefile in the bios 
directory and was able to compile it.

rombios32.o: rombios32.c acpi-dsdt.hex
 $(GCC) -O2 -Wall -fno-stack-protector -c -o $@ $<

It looks like qemu works fine even with unmodified bochs's bios. However, I 
still could not boot the latest beta of Vista, no matter if I applied 
bios.diff or not. I don't have the release version of Vista.

Alex.

"Nakajima, Jun" <jun.nakajima@intel.com> wrote 
in message 
news:8FFF7E42E93CC646B632AB40643802A80282EDB7@scsmsx412.amr.corp.intel.com...
> We found a way to get 32-bit Vista up on KVM by fixing bios.bin. And I
> think it should be helpful to qemu as well. However, I'm not sure if the
> binary file has been created simply by applying bios.diff to the latest
> bochs CVS tree (actually I doubt it). Can somebody provide a recipe for
> creating bios.bin from the bochs tree so that we can make a patch?
>
> Thanks,
> Jun
> ---
> Intel Open Source Technology Center
>
> -------------------------------------------------------------------------
> 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] 7+ messages in thread

end of thread, other threads:[~2007-05-01 22:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 19:04 [Qemu-devel] Fixing ACPI for Vista -- Source code for bios.bin vs. bochs CVS? Nakajima, Jun
2007-04-30 19:11 ` Paul Brook
2007-04-30 19:42   ` Anthony Liguori
2007-04-30 22:40   ` Nakajima, Jun
2007-05-01  6:42   ` [kvm-devel] " Avi Kivity
2007-05-01  8:52 ` [Qemu-devel] Re: [kvm-devel] " Gilad Ben-Yossef
2007-05-01 22:09 ` [Qemu-devel] Re: Fixing ACPI for Vista -- Source code for bios.bin vs.bochs CVS? 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).