On Wed, May 20, 2026 at 16:49:35 +0530, Akash Kulhalli via Devel wrote:
> Add async unplug coverage for the setvcpu path.
> 
> The x86 case covers removal of a single hotpluggable vCPU entity, while the
> ppc64 case covers removal of a grouped hotpluggable entity. Both cases verify
> the pending XML before DEVICE_DELETED, the final XML after completion, and the
> expected vcpu-removed events.
> 
> Signed-off-by: Akash Kulhalli <[email protected]>
> ---
>  tests/qemuhotplugtest.c                       |   4 +
>  ...c64-modern-individual-del-async-domain.xml |  68 ++++++
>  ...4-modern-individual-del-async-monitor.json | 227 ++++++++++++++++++
>  ...odern-individual-del-async-result-conf.xml |  68 ++++++
>  ...odern-individual-del-async-result-live.xml |  71 ++++++
>  ...dividual-del-async-result-pending-live.xml |  71 ++++++
>  ...x86-modern-individual-del-async-domain.xml |  42 ++++
>  ...6-modern-individual-del-async-monitor.json | 186 ++++++++++++++
>  ...odern-individual-del-async-result-conf.xml |  42 ++++
>  ...odern-individual-del-async-result-live.xml |  50 ++++
>  ...dividual-del-async-result-pending-live.xml |  50 ++++
>  11 files changed, 879 insertions(+)
>  create mode 100644 
> tests/qemuhotplugtestcpus/ppc64-modern-individual-del-async-domain.xml
>  create mode 100644 
> tests/qemuhotplugtestcpus/ppc64-modern-individual-del-async-monitor.json
>  create mode 100644 
> tests/qemuhotplugtestcpus/ppc64-modern-individual-del-async-result-conf.xml
>  create mode 100644 
> tests/qemuhotplugtestcpus/ppc64-modern-individual-del-async-result-live.xml
>  create mode 100644 
> tests/qemuhotplugtestcpus/ppc64-modern-individual-del-async-result-pending-live.xml
>  create mode 100644 
> tests/qemuhotplugtestcpus/x86-modern-individual-del-async-domain.xml
>  create mode 100644 
> tests/qemuhotplugtestcpus/x86-modern-individual-del-async-monitor.json
>  create mode 100644 
> tests/qemuhotplugtestcpus/x86-modern-individual-del-async-result-conf.xml
>  create mode 100644 
> tests/qemuhotplugtestcpus/x86-modern-individual-del-async-result-live.xml
>  create mode 100644 
> tests/qemuhotplugtestcpus/x86-modern-individual-del-async-result-pending-live.xml

../../../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