On Wed, May 20, 2026 at 16:49:34 +0530, Akash Kulhalli via Devel wrote:
> Add async CPU hotplug harness support so tests can observe the state
> between device_del and DEVICE_DELETED, and then complete the unplug
> through the QEMU driver's normal process-event path.
> 
> The async path compares the pending live XML, emits DEVICE_DELETED
> events via the monitor test helper, waits for the driver worker to
> process them, and validates the vcpu-removed events before running the
> existing final XML checks.
> 
> Signed-off-by: Akash Kulhalli <[email protected]>
> ---
>  tests/qemuhotplugtest.c | 350 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 350 insertions(+)

Build fails after this patch:

../../../libvirt/tests/qemuhotplugtest.c:769:1: error: 
‘testQemuHotplugCpuIndividualAsync’ defined but not used 
[-Werror=unused-function]
  769 | testQemuHotplugCpuIndividualAsync(const void *opaque)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../libvirt/tests/qemuhotplugtest.c:762:1: error: 
‘testQemuHotplugCpuGroupAsync’ defined but not used [-Werror=unused-function]
  762 | testQemuHotplugCpuGroupAsync(const void *opaque)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Reply via email to