On Wed, Jun 10, 2026 at 16:24:09 +0530, Akash Kulhalli via Devel wrote:
> This series adds qemuhotplugtest coverage for async vCPU unplug.
> 
> Async vCPU unplug does not complete at the device_del reply. The guest
> CPU remains in a pending removal state until QEMU reports DEVICE_DELETED
> and the QEMU driver handles the resulting process event. The new harness
> support lets the tests observe that intermediate state and then complete
> the unplug through the same process-event path used by the driver.
> 
> The setvcpu coverage exercises both a single-vCPU x86 hotplug entity and
> a grouped ppc64 hotplug entity. These cases check the pending live XML
> before completion and the final live/config XML after completion, while
> also validating the expected vcpu-removed domain events.
> 
> The setvcpus coverage adds a separate count-based x86 downscale case.
> This keeps the independent count-to-entity selection path covered
> without duplicating the grouped-entity coverage from setvcpu.
> 
> Changes from v1:
> - Fixed cumulative build issues with two patches
> - rebased on latest master, two patches have already been merged
> 
> Akash Kulhalli (5):
>   qemu: expose process event handler to tests
>   tests: add helper for DEVICE_DELETED events
>   qemuhotplugtest: support async vcpu unplug completion
>   qemuhotplugtest: test setvcpu async unplug
>   qemuhotplugtest: test setvcpus async downscale

Reviewed-by: Peter Krempa <[email protected]> & pushed

Reply via email to