]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commit
Fix HVM direct kernel booting.
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 22 Jul 2008 14:49:52 +0000 (15:49 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 22 Jul 2008 14:49:52 +0000 (15:49 +0100)
commita7104be2d6a521dfdcf1ce9f82ae40525e223775
tree27a7d7970d00739965ec83bce35a11ff176e8cae
parent439836900dad41f66234d2a14981aa2a90d4d346
Fix HVM direct kernel booting.

This was broken during the merge with qemu upstream.

Fixes:
 * Properly update kernel loading address so that qemu actually
   loads the kernel where we want it.
 * Use 0x200000 not 0x20000 as the updated kernel loading address.
 * Use stl_phys(real_addr+0x214,) rather than stl_p(header+0x214,),
   as the header has already been copied into target memory so we
   need to update it there.
hw/pc.c