Re: [Qemu-devel] [PATCH master, stable-0.12] linuxboot: fix gdt address calculation

2010-01-08 Thread Anthony Liguori
On 12/24/2009 07:38 AM, Avi Kivity 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 undefi

[Qemu-devel] [PATCH master, stable-0.12] linuxboot: fix gdt address calculation

2009-12-24 Thread Avi Kivity
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,