tests/cpu-plug-test: Check the CPU hot-plugging with device_add, too
commit80b8c0be748d2cf8a90955e409956cee1c932a38
authorThomas Huth <thuth@redhat.com>
Fri, 6 Oct 2017 11:32:13 +0000 (6 13:32 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 Jan 2018 07:39:05 +0000 (22 08:39 +0100)
tree7f89d5cc464a3a6369fbaadb7b65cf6e8ef386ed
parent152e039359f4c0b3c7802444c2dd580ebc9aa10c
tests/cpu-plug-test: Check the CPU hot-plugging with device_add, too

Using 'device_add' instead of 'cpu-add' is the new way for
hot-plugging CPUs, so we should test this regularly, too.

Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Tested-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/cpu-plug-test.c