mbox series

[kvm-unit-tests,0/2] x86/emulator: Add some tests for loading segment descriptor in emulator

Message ID cover.1642669912.git.houwenlong.hwl@antgroup.com (mailing list archive)
Headers show
Series x86/emulator: Add some tests for loading segment descriptor in emulator | expand

Message

Hou Wenlong Jan. 20, 2022, 9:26 a.m. UTC
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@antgroup.com

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