This adds a test case for taskswitches into/out of VM86. This test case currently fails on KVM, it passes with TCG. I'll send out KVM fixes together with this series. I also included a small shell script that just runs tests and prints a PASS/FAIL message for each. I've been using this script locally for a while, but maybe someone else finds it handy, too. Kevin Wolf (4): Add run_tests.sh Add taskswitch testcases to unittest.cfg Fix i386 build x86/taskswitch_vm86: Task switches into/out of VM86 config-i386.mak | 3 +- lib/x86/desc.c | 39 +----------------- lib/x86/desc.h | 36 ++++++++++++++++ lib/x86/vm.c | 4 +- lib/x86/vm.h | 1 + run_tests.sh | 107 +++++++++++++++++++++++++++++++++++++++++++++++++ x86/taskswitch_vm86.c | 59 +++++++++++++++++++++++++++ x86/unittests.cfg | 18 ++++++++ 8 files changed, 227 insertions(+), 40 deletions(-) create mode 100755 run_tests.sh create mode 100644 x86/taskswitch_vm86.c -- 1.7.6.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html