[PATCH 0/2] qemu: Fix hot plugged host CPUs not being used

Ilya Leoshkevich posted 2 patches 1 week, 6 days ago
Failed in applying to current master (apply log)
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
[PATCH 0/2] qemu: Fix hot plugged host CPUs not being used
Posted by Ilya Leoshkevich 1 week, 6 days ago
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

-- 
2.55.0
Re: [PATCH 0/2] qemu: Fix hot plugged host CPUs not being used
Posted by Michal Prívozník via Devel 1 week, 2 days ago
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