x86/emulator: Add some tests for loading segment descriptor in emulator
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 0 repliesNew
- v3 posting 2/23 patches 3 repliesSuperseded
- v3 posting 1/20 of 2 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 3 replies | Superseded | |
| v1 | 2 patches | 1 reply | Superseded |
Changes in v4 from the cover letter
- Fix build failure with --target-efi.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/emulator: Add some tests for far ret instruction emulationx86/ | +130 | 0 replies | |
| 2/3 | x86/emulator: Rename test_ljmp() as test_far_jmp()x86/ | +3 | 0 replies | |
| 3/3 | x86/emulator: Add some tests for far jmp instruction emulationx86/ | +58 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Sean Christopherson |
|---|---|
| 1/3 | Reviewed-and-tested-by |
| 2/3 | Reviewed-and-tested-by |
| 3/3 | Reviewed-and-tested-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH v4 0/3] x86/emulator: Add some tests for loading segment descriptor in emulator
Add some far ret and far jmp 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.
Changed from v3:
- Fix build failure with --target-efi.
Changed from v2:
- Fix some complication errors, which are not gotten in my gcc.
- Rename lret as far ret, and rename ljmp as far jmp.
Changed from v1:
- As Sean suggested, refactor the test loop to make the code simple.
v3: https://lore.kernel.org/kvm/[email protected]
[*] https://lore.kernel.org/kvm/[email protected]
Hou Wenlong (3):
x86/emulator: Add some tests for far ret instruction emulation x86/emulator: Rename test_ljmp() as test_far_jmp() x86/emulator: Add some tests for far jmp instruction emulation
x86/emulator.c | 203 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 189 insertions(+), 14 deletions(-)
--
2.31.1