Re: [Qemu-devel] [PATCH] Make -kernel for linux work with bochsbios

2009-11-30 Thread Alexander Graf
Alexander Graf wrote: > While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized > that I was actually writing data to %es, but only set up %ds to a 32-bit > segment we want to write to. > > So at the end of the day the data hasn't actually been copied. Oops. > > So here's a fix to set

[Qemu-devel] [PATCH] Make -kernel for linux work with bochsbios

2009-11-17 Thread Alexander Graf
While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized that I was actually writing data to %es, but only set up %ds to a 32-bit segment we want to write to. So at the end of the day the data hasn't actually been copied. Oops. So here's a fix to set ES instead of DS, which makes -ke