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

2010-01-07 Thread Anthony Liguori
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 unde

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

2009-12-24 Thread Paolo Bonzini
>> 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 thes