Hello, As prerequisite for upcoming changes to CPU initialization and hot-plug code, I would like to merge these two patches from my x86 CPU branch.
For now the coverage is limited to one test case per PC machine and is testing both a non-default sockets/cores/hyperthreads combination, a non-default model and monotonic cpu-add via QMP for 1.5+ and graceful error handling otherwise. Regards, Andreas Cc: Eduardo Habkost <ehabk...@redhat.com> Cc: Zhu Guihua <zhugh.f...@cn.fujitsu.com> Cc: Chen Fan <chen.fan.f...@cn.fujitsu.com> Cc: Peter Maydell <peter.mayd...@linaro.org> Andreas Färber (2): pc: Suppress APIC ID compatibility warning for QTest tests: Add PC CPU test hw/i386/pc.c | 3 +- tests/Makefile | 2 + tests/pc-cpu-test.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+), 1 deletion(-) create mode 100644 tests/pc-cpu-test.c -- 2.1.4