qemu-devel
[Top][All Lists]
Advanced

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

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


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH] Make -kernel for linux work with bochsbios
Date: Mon, 30 Nov 2009 14:50:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

On 11/30/2009 02:10 PM, Alexander Graf wrote:
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 ES instead of DS, which makes -kernel work with
BOCHS bios again (and actually makes the code do the correct thing)!


ping

ACK

Paolo





reply via email to

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