[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qemu-s390x] [Qemu-ppc] [PATCH 0/4] Improve the CPU hot plug tests

From: Daniel Henrique Barboza
Subject: Re: [qemu-s390x] [Qemu-ppc] [PATCH 0/4] Improve the CPU hot plug tests
Date: Tue, 17 Oct 2017 16:13:12 -0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 10/17/2017 02:36 PM, Thomas Huth wrote:
On 17.10.2017 18:27, Daniel Henrique Barboza wrote:

On 10/17/2017 11:32 AM, Thomas Huth wrote:
So far the CPU hot-plug qtest was only checking "cpu-add" on x86. With
these patches, we now test "device_add" for hot-plugging CPUs on x86,
and enable the test on ppc64 and s390x, too.
Question: is there a reason other than "no one bothered" to not have a
CPU hot
unplug test, something around the lines of the now cpu-plug-test.c? I might
give it a shot if there is no known roadblocks against it.
AFAIK on x86, you need some ACPI magic on the guest side to do this
(something similar to qpci_unplug_acpi_device_test() in
tests/libqos/pci-pc.c I guess). And on s390x, CPU unplug is not
supported at all. But it might work on ppc64 without guest intervention,
not sure - maybe Bharata can comment on this...

Good point, it won't work in spapr machine without guest intervention too.
Both CPU and LMB unplug relies on guest-side callbacks to complete the

I'll see how this ACPI magic you mentioned is done and see how hard it is to
do it for ppc64.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]