These patches allow to run Jailhouse in emulated x86-64 mode under QEMU. AMD IOMMU only works with one additional hack, but that's a different story, and we can test these changes without it.
Jan Jan Kiszka (4): target-i386: Add NMI interception to SVM target-i386: Allow interrupt injection after STGI target-i386: Mark cpu_vmexit noreturn target-i386: Add NPT support target/i386/cpu.c | 2 +- target/i386/cpu.h | 10 ++- target/i386/excp_helper.c | 216 +++++++++++++++++++++++++++++++++++++++++++++- target/i386/mem_helper.c | 6 +- target/i386/seg_helper.c | 1 + target/i386/svm.h | 6 ++ target/i386/svm_helper.c | 23 +++++ target/i386/translate.c | 3 +- 8 files changed, 258 insertions(+), 9 deletions(-) -- 2.13.6