On Sat, Aug 01, 2026 at 12:04:24 -0500, Jaehoon Kim wrote:
Add poll-weight support to the test driver so that the virsh test suite can exercise the iothreadset --poll-weight path end-to-end.
Add a poll_weight field to the testIOThreadInfo struct and initialise it to 0 in both testDomainGenerateIOThreadInfos and testDomainAddIOThread. Extend testDomainIOThreadParseParams to accept and store VIR_DOMAIN_IOTHREAD_POLL_WEIGHT, and extend testDomainGetStatsIOThread to emit the value via domstats.
Update the expected iothreads.out output to include the poll-weight=0 field in the existing domstats blocks now that the test driver reports it unconditionally.
Signed-off-by: Jaehoon Kim <jhkim@linux.ibm.com> --- src/test/test_driver.c | 12 ++++++++++++ tests/virshtestdata/iothreads.out | 4 ++++ 2 files changed, 16 insertions(+)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>