summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorAlexander Graf2009-11-17 17:49:16 +0100
committerAnthony Liguori2009-12-03 22:25:58 +0100
commitdc61b0dc5a24c7dac5e54a2baf9be235038aae64 (patch)
tree0a590f857d525be56fa073d0a9209c2608953190 /hw
parentFix recently introduced bugs in -usbdevice host (diff)
downloadqemu-dc61b0dc5a24c7dac5e54a2baf9be235038aae64.tar.gz
qemu-dc61b0dc5a24c7dac5e54a2baf9be235038aae64.tar.xz
qemu-dc61b0dc5a24c7dac5e54a2baf9be235038aae64.zip
Make -kernel for linux work with bochsbios
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)! Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions