From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH 00/13] kvm-unit-tests: Various improvements for x86 tests Date: Sat, 4 Jan 2014 18:59:06 +0100 Message-ID: Cc: kvm To: Gleb Natapov , Paolo Bonzini , Marcelo Tosatti Return-path: Received: from mout.web.de ([212.227.15.3]:65518 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754064AbaADR71 (ORCPT ); Sat, 4 Jan 2014 12:59:27 -0500 Received: from mchn199C.home ([95.157.58.223]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0MfCyA-1Vkayi0EH4-00OnSQ for ; Sat, 04 Jan 2014 18:59:26 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Highlights: - improved preemption timer and interrupt injection tests (obsoletes my two patches in vmx queue) - tests for IA32_APIC_BASE writes - test for unconditional IO exiting (VMX) - basic test of debug facilities (hw breakpoints etc.) Jan Kiszka (13): VMX: Add test cases around interrupt injection and halting VMX: Extend preemption timer tests apic: Remove redundant enable_apic VMX: Fix return label in fault-triggering handlers lib/x86: Move exception test code into library x2apic: Test for invalid state transitions lib/x86/apic: Consolidate over MSR_IA32_APICBASE apic: Add test case for relocation and writing reserved bits VMX: Check unconditional I/O exiting Provide common report and report_summary services Ignore *.elf build outputs svm: Add missing build dependency x86: Add debug facility test case .gitignore | 1 + Makefile | 3 +- config-x86-common.mak | 4 +- config-x86_64.mak | 2 +- lib/libcflat.h | 4 + lib/report.c | 36 +++++++ lib/x86/apic-defs.h | 3 + lib/x86/apic.c | 7 +- lib/x86/desc.c | 24 +++++ lib/x86/desc.h | 6 ++ x86/apic.c | 84 +++++++++++++--- x86/debug.c | 113 +++++++++++++++++++++ x86/emulator.c | 16 +-- x86/eventinj.c | 15 +-- x86/idt_test.c | 21 +--- x86/msr.c | 15 +-- x86/pcid.c | 14 +-- x86/pmu.c | 37 +++---- x86/taskswitch2.c | 15 +-- x86/unittests.cfg | 3 + x86/vmx.c | 57 +++-------- x86/vmx.h | 4 +- x86/vmx_tests.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++---- 23 files changed, 548 insertions(+), 200 deletions(-) create mode 100644 lib/report.c create mode 100644 x86/debug.c -- 1.8.1.1.298.ge7eed54