/arch/amd64/context2.S#L241
shows how the dotnet runtime uses iret.
I have booted BSD, solaris and macosX with this change, and await
results for booting Windows from the Windows kernel team.
I have not tested this with other modern JITers, such as Java,
v8, or HHVM.
Robert R. Henry (1):
i386
, IRET returns from user mode to user mode.
This bug manifested itself as a page fault in the guest Linux kernel.
This bug appears to have been in QEMU since the beginning.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/249
Signed-off-by: Robert R. Henry
---
target/i386/tcg/seg_helper.c