Skip to content

VM86 testcase and run_tests.sh

Kevin Wolf kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add run_tests.shrun_tests.sh+107 -00 replies
2/4Add taskswitch testcases to unittest.cfgx86/unittests.cfg+12 -00 replies
3/4Fix i386 buildlib/x86/desc.c+1 -12 replies
4/4x86/taskswitch_vm86: Task switches into/out of VM86config-i386.mak lib/x86/desc.c lib/x86/desc.h +4 more+107 -397 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH kvm-unit-tests 0/4] VM86 testcase and run_tests.sh

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
Signature · 1 line
1.7.6.5