tests/cpu-plug-test: Check CPU hot-plugging on ppc64, too
commit73a7d31e53e2b34f83b5e138189b9bab1333f3b9
authorThomas Huth <thuth@redhat.com>
Fri, 6 Oct 2017 13:53:19 +0000 (6 15:53 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 Jan 2018 07:39:05 +0000 (22 08:39 +0100)
tree385b47628828c4550a380a51b88ac9f7f5a696ef
parent80b8c0be748d2cf8a90955e409956cee1c932a38
tests/cpu-plug-test: Check CPU hot-plugging on ppc64, too

Hot plugging on ppc64 is possible via "device_add", too. Unlike x86,
we must not specify a 'socket-id' and 'thread-id' here, so this needs
to be done with a separate function that just specifies the 'core-id'
during the "device_add".

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