From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XymuZ-0000NU-Qz for qemu-devel@nongnu.org; Wed, 10 Dec 2014 14:27:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XymuT-0007je-Fm for qemu-devel@nongnu.org; Wed, 10 Dec 2014 14:26:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XymuT-0007jF-7a for qemu-devel@nongnu.org; Wed, 10 Dec 2014 14:26:53 -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 sBAJQqpS026100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 10 Dec 2014 14:26:52 -0500 From: Eduardo Habkost Date: Wed, 10 Dec 2014 17:26:43 -0200 Message-Id: <1418239610-3997-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/7] Target-specific unit test support, add unit tests for target-i386/cpu.c code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Igor Mammedov Changes v2 -> v3: * Extra KVM "host" CPU model test cases * Move target_words_bigendian() prototype to exec-all.h Changes v1 -> v2: * Make dependency list of test binary much simpler, now that cpus.o was removed. Eduardo Habkost (7): Move target_words_bigendian() prototype to exec-all.h tests: Support target-specific unit tests tests: Make test-x86-cpuid target-specific tests: Add unit test for X86CPU code target-i386: Isolate enabled-by-default features to a separate array tests: test-x86-cpu: Add TCG feature bit initialization test tests: test-x86-cpu: Add KVM feature bit initialization test exec.c | 1 - hw/virtio/virtio.c | 1 - include/exec/exec-all.h | 2 + target-i386/cpu.c | 12 ++-- tests/.gitignore | 1 + tests/Makefile | 50 ++++++++++--- tests/test-x86-cpu.c | 183 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/vl-stub.c | 15 ++++ tests/x86-stub.c | 164 +++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 412 insertions(+), 17 deletions(-) create mode 100644 tests/test-x86-cpu.c create mode 100644 tests/vl-stub.c create mode 100644 tests/x86-stub.c -- 1.9.3