Add some lret and ljmp tests for the related x86 emulator bugs[*]. Those tests would be tested both on hardware and emulator. Enable kvm.force_emulation_prefix to test them on emulator. [*] https://lore.kernel.org/kvm/cover.1642669684.git.houwenlong.hwl@xxxxxxxxxxxx Hou Wenlong (2): x86/emulator: Add some tests for lret instruction emulation x86/emulator: Add some tests for ljmp instruction emulation x86/emulator.c | 283 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 270 insertions(+), 13 deletions(-) -- 2.31.1