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