From: Kevin Wolf Subject: [PATCH kvm-unit-tests 0/4] VM86 testcase and run_tests.sh Date: Mon, 23 Jan 2012 17:07:09 +0100 Message-ID: <1327334833-31650-1-git-send-email-kwolf@redhat.com> Cc: kwolf@redhat.com, kvm@vger.kernel.org To: avi@redhat.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:61756 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981Ab2AWQDu (ORCPT ); Mon, 23 Jan 2012 11:03:50 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0NG3nAC017119 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 23 Jan 2012 11:03:49 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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