public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvm-unit-tests 0/4] VM86 testcase and run_tests.sh
@ 2012-01-23 16:07 Kevin Wolf
  2012-01-23 16:07 ` [PATCH kvm-unit-tests 1/4] Add run_tests.sh Kevin Wolf
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Kevin Wolf @ 2012-01-23 16:07 UTC (permalink / raw)
  To: avi; +Cc: kwolf, kvm

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-01-24 10:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-23 16:07 [PATCH kvm-unit-tests 0/4] VM86 testcase and run_tests.sh Kevin Wolf
2012-01-23 16:07 ` [PATCH kvm-unit-tests 1/4] Add run_tests.sh Kevin Wolf
2012-01-23 16:07 ` [PATCH kvm-unit-tests 2/4] Add taskswitch testcases to unittest.cfg Kevin Wolf
2012-01-23 16:07 ` [PATCH kvm-unit-tests 3/4] Fix i386 build Kevin Wolf
2012-01-24  9:51   ` Takuya Yoshikawa
2012-01-24  9:58     ` Kevin Wolf
2012-01-23 16:07 ` [PATCH kvm-unit-tests 4/4] x86/taskswitch_vm86: Task switches into/out of VM86 Kevin Wolf
2012-01-23 16:10   ` Gleb Natapov
2012-01-23 16:20     ` Kevin Wolf
2012-01-23 16:22       ` Gleb Natapov
2012-01-23 16:32         ` Kevin Wolf
2012-01-23 16:42           ` Gleb Natapov
2012-01-24 10:14             ` Kevin Wolf
2012-01-24 10:26               ` Gleb Natapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox