tests/device-plug: Add CPU core unplug request test for spapr
commitc76480e5a0cc068b5fd39b50f4e36496bfaba95a
authorDavid Hildenbrand <david@redhat.com>
Mon, 18 Feb 2019 09:22:01 +0000 (18 10:22 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 25 Feb 2019 22:21:25 +0000 (26 09:21 +1100)
tree60cd831e84042a8c24e11b1a91f8fb8eeaec6fbb
parent613ebbec647d6d159a2fc81b4c34290765901de3
tests/device-plug: Add CPU core unplug request test for spapr

We can easily test this, just like PCI. On s390x, cpu unplug is not
supported. On x86 ACPI, cpu unplug requires guest interaction to work, so
it can't be tested that easily. We might add tests for ACPI later.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190218092202.26683-6-david@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tests/device-plug-test.c