]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: test setvcpus async downscale master
authorAkash Kulhalli <akash.kulhalli@oracle.com>
Wed, 10 Jun 2026 10:54:14 +0000 (16:24 +0530)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 22 Jun 2026 14:46:19 +0000 (16:46 +0200)
commit57a6e9773ea208cb68c187b60c654176eff9818c
tree6d192d38e1529b03823612474c0dc758c01fd6ee
parent44da70fc45be4cf5774d60345c3f190113478a46
qemuhotplugtest: test setvcpus async downscale

Add async unplug coverage for the setvcpus count-based path.

The test downscales an x86 domain by multiple hotpluggable vCPU entities,
verifying the pending XML before completion, the final XML after DEVICE_DELETED
processing, and one vcpu-removed event for each removed vCPU.

Signed-off-by: Akash Kulhalli <akash.kulhalli@oracle.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tests/qemuhotplugtest.c
tests/qemuhotplugtestcpus/x86-modern-bulk-downscale-async-domain.xml [new file with mode: 0644]
tests/qemuhotplugtestcpus/x86-modern-bulk-downscale-async-monitor.json [new file with mode: 0644]
tests/qemuhotplugtestcpus/x86-modern-bulk-downscale-async-result-conf.xml [new file with mode: 0644]
tests/qemuhotplugtestcpus/x86-modern-bulk-downscale-async-result-live.xml [new file with mode: 0644]
tests/qemuhotplugtestcpus/x86-modern-bulk-downscale-async-result-pending-live.xml [new file with mode: 0644]