Make the emulator test 32-bit friendly by extracting the testcases that are 64-bit only (in practice if not in theory), and add a testcase to verify that KVM inhibits code breakpoint (#DBs) on Intel CPUs if POP/MOV-SS blocking is active, and that AMD CPUs do not suppress code #DBs in this case. Michal Luczaj (1): x86/emulator: Test code breakpoint with MOV/POP-SS blocking active Sean Christopherson (4): x86/emulator: Delete unused declarations (copy-pasted from realmode.c) x86/emulator: Move basic "MOV" test to its own helper function x86/emulator: Make chunks of "emulator" test 32-bit friendly x86/emulator: Convert remaining spaces to tabs (indentation) x86/Makefile.common | 1 + x86/Makefile.x86_64 | 2 +- x86/emulator.c | 921 +++++++++++++------------------------------- x86/emulator64.c | 464 ++++++++++++++++++++++ x86/unittests.cfg | 1 - 5 files changed, 742 insertions(+), 647 deletions(-) create mode 100644 x86/emulator64.c base-commit: 7362976db651a2142ec64b5cea2029ab77a5b157 -- 2.37.2.672.g94769d06f0-goog