Cc'ing Stefano
On 3/2/21 10:03 AM, David Edmondson wrote:
> While testing a non-Linux 32 bit PVH "kernel" (it's really just a
> bunch of test code), I ran into some problems with the current PVH
> loader in QEMU, which seems to work somewhat by accident for 32 bit
> kernels today, having been fortunate in the layout of the object files
> it typically encounters.
>
> Non-PAE 32 bit Linux kernels still don't appear to work even with this
> change, but I think that problem is somewhere else (the kernel is
> loaded and starts, but the VM resets when it attempts to enable PG/PE)
> and I haven't tracked it down yet.
>
> David Edmondson (2):
> elf_ops: correct loading of 32 bit PVH kernel
> x86/pvh: extract only 4 bytes of start address for 32 bit kernels
>
> hw/i386/x86.c | 6 ++++--
> include/hw/elf_ops.h | 4 +---
> 2 files changed, 5 insertions(+), 5 deletions(-)
>