tests: Add PC CPU test
commit7fe55c3cbac3ffcb1f772dfa8246405bd2328810
authorAndreas Färber <afaerber@suse.de>
Fri, 13 Mar 2015 16:21:11 +0000 (13 17:21 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 17 Mar 2015 13:50:44 +0000 (17 14:50 +0100)
tree72185a912209ca7adec6026b83ca3160430a356f
parentb1c12027f834d50c0cf22fe8745b5d85bb87ddd0
tests: Add PC CPU test

Test non-default -smp core and thread counts and a non-default CPU model
on all PC machines except for isapc. Note that not all historic versions
actually supported this particular configuration, ignored for simplicity.

For machines pc-*-1.5+ test QMP cpu-add with monotonically increasing ID,
and test for graceful failure otherwise.

Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
tests/Makefile
tests/pc-cpu-test.c [new file with mode: 0644]