Target-specific unit test support, add unit tests for target-i386/cpu.c code
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest7 patches 4 repliesIn review
- v46 patches 0 repliesSuperseded
- v37 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 7 patches | 5 replies | Superseded | |
| v1 RFC | 10 patches | 2 replies | Superseded |
Changes in v5 from the cover letter
* Rewrite fake kvm_arch_get_supported_cpuid() code
* Add new test to ensure KVM defaults won't override explicit command-line options
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tests: Support target-specific unit teststests/ | +23 | 0 replies | |
| 2/7 | tests: Make test-x86-cpuid target-specifictests/ | +3 | 0 replies | |
| 3/7 | tests: Add unit test for X86CPU codetests/ tests/ tests/ +2 more | +264 | 0 replies | |
| 4/7 | target-i386: Isolate enabled-by-default features to a separate arraytarget-i386/ | +8 | 0 replies | |
| 5/7 | tests: test-x86-cpu: Add TCG feature bit initialization testtests/ | +25 | 0 replies | |
| 6/7 | tests: test-x86-cpu: Add KVM feature bit initialization testtests/ | +84 | 0 replies | |
| 7/7 | tests: test-x86-cpu: Ensure that -cpu override KVM-specific defaultstests/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [Qemu-devel] [PATCH for-2.4 v5 0/7] Target-specific unit test support, add unit tests for target-i386/cpu.c code
Changes v4 -> v5:
* Rewrite fake kvm_arch_get_supported_cpuid() code
* Add new test to ensure KVM defaults won't override explicit command-line options
Changes v3 -> v4:
* Move target_words_bigendian() prototype back inside tests/x86-stub.c.
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):
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
tests: test-x86-cpu: Ensure that -cpu override KVM-specific defaults
target-i386/cpu.c | 12 ++- tests/.gitignore | 1 + tests/Makefile | 49 +++++++++--- tests/test-x86-cpu.c | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/vl-stub.c | 15 ++++ tests/x86-stub.c | 165 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 437 insertions(+), 13 deletions(-) create mode 100644 tests/test-x86-cpu.c create mode 100644 tests/vl-stub.c create mode 100644 tests/x86-stub.c
Signature · 1 line
2.1.0