On 8/31/26 13:58, Ilya Leoshkevich wrote:
Hi,
This series fixes hot plugged host CPUs not being used to schedule guest virtual CPUs. Patch 1 is the fix, patch 2 is the test.
If the fix is acceptable and the test needs changes, it would be great to have the fix committed separately.
Best regards, Ilya
Boris Fiuczynski (1): tests: add qemuprocesstest for qemuProcessGetAllCpuAffinity
Ilya Leoshkevich (1): qemu: Fix hot plugged host CPUs not being used
src/qemu/qemu_process.c | 26 ++++++-- src/qemu/qemu_process.h | 2 + src/util/virhostcpu.h | 6 +- tests/meson.build | 1 + tests/qemuprocessmock.c | 65 ++++++++++++++++++ tests/qemuprocesstest.c | 144 ++++++++++++++++++++++++++++++++++++++++ tests/qemuprocesstest.h | 25 +++++++ 7 files changed, 261 insertions(+), 8 deletions(-) create mode 100644 tests/qemuprocessmock.c create mode 100644 tests/qemuprocesstest.c create mode 100644 tests/qemuprocesstest.h
Reviewed-by: Michal Privoznik <mprivozn@redhat.com> and merged. Congratulations Ilya on your first libvirt contribution! Michal