[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] write option roms in pc-bios/

From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] write option roms in pc-bios/
Date: Thu, 07 Jan 2010 14:03:08 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 12/24/2009 08:27 AM, Paolo Bonzini wrote:
The gdt address calculation in linuxboot.bin is broken in two ways: first
it loads %cs into %eax, but that instruction leaves the high bits of %eax
undefined and we did not clear them. Secondly, we completely ignore the
incorrect %eax, and use the undefined %ebx instead.

With these issues fixed, linuxboot works again.
Wow, I wonder how it worked for me...
Got it.  The option roms are built in pc-bios/optionrom, but QEMU loads
the ones in pc-bios.  So actually I was always testing Alexander's code
even though I had done a "make -B" to feel safer. :-(

Signed-off-by: Paolo Bonzini<address@hidden>

This will wreak havoc on the tree since these are built by default and they are replacing files in revision control.


Anthony Liguori

reply via email to

[Prev in Thread] Current Thread [Next in Thread]