[PATCH v2 0/4] qemu: Substract isolcpus from all online affinity

Michal Privoznik posted 4 patches 1 year, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1713881661.git.mprivozn@redhat.com
src/libvirt_private.syms |  3 ++
src/qemu/qemu_process.c  |  9 +++++
src/util/virbitmap.c     | 40 +++++++++++++++++---
src/util/virbitmap.h     |  3 ++
src/util/virfile.c       | 81 ++++++++++++++++++++++++++++++----------
src/util/virfile.h       |  2 +
src/util/virhostcpu.c    | 31 +++++++++++++++
src/util/virhostcpu.h    |  1 +
tests/virbitmaptest.c    | 40 ++++++++++++++++++++
9 files changed, 186 insertions(+), 24 deletions(-)
[PATCH v2 0/4] qemu: Substract isolcpus from all online affinity
Posted by Michal Privoznik 1 year, 9 months ago
v2 of:

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/4V7OI5AEGYRN4GFQMQPIN4MYPJNK3NYJ/

diff to v1:
- Don't error out on systems where /sys/devices/system/cpu/isolated is
  unavailable.
- Don't error out on systems where /sys/devices/system/cpu/isolated is
  empty.

Both of these resulted in new patches.

Michal Prívozník (4):
  virbitmap: Introduce virBitmapParseUnlimitedAllowEmpty()
  virfile: Introduce virFileReadValueBitmapAllowEmpty()
  virhostcpu: Introduce virHostCPUGetIsolated()
  qemu: Substract isolcpus from all online affinity

 src/libvirt_private.syms |  3 ++
 src/qemu/qemu_process.c  |  9 +++++
 src/util/virbitmap.c     | 40 +++++++++++++++++---
 src/util/virbitmap.h     |  3 ++
 src/util/virfile.c       | 81 ++++++++++++++++++++++++++++++----------
 src/util/virfile.h       |  2 +
 src/util/virhostcpu.c    | 31 +++++++++++++++
 src/util/virhostcpu.h    |  1 +
 tests/virbitmaptest.c    | 40 ++++++++++++++++++++
 9 files changed, 186 insertions(+), 24 deletions(-)

-- 
2.43.2
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH v2 0/4] qemu: Substract isolcpus from all online affinity
Posted by Pavel Hrdina 1 year, 9 months ago
On Tue, Apr 23, 2024 at 04:16:20PM +0200, Michal Privoznik wrote:
> v2 of:
> 
> https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/4V7OI5AEGYRN4GFQMQPIN4MYPJNK3NYJ/
> 
> diff to v1:
> - Don't error out on systems where /sys/devices/system/cpu/isolated is
>   unavailable.
> - Don't error out on systems where /sys/devices/system/cpu/isolated is
>   empty.
> 
> Both of these resulted in new patches.
> 
> Michal Prívozník (4):
>   virbitmap: Introduce virBitmapParseUnlimitedAllowEmpty()
>   virfile: Introduce virFileReadValueBitmapAllowEmpty()
>   virhostcpu: Introduce virHostCPUGetIsolated()
>   qemu: Substract isolcpus from all online affinity

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH v2 0/4] qemu: Substract isolcpus from all online affinity
Posted by Michal Prívozník 1 year, 9 months ago
On 4/23/24 16:16, Michal Privoznik wrote:
> v2 of:
> 
> https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/4V7OI5AEGYRN4GFQMQPIN4MYPJNK3NYJ/
> 
> diff to v1:
> - Don't error out on systems where /sys/devices/system/cpu/isolated is
>   unavailable.
> - Don't error out on systems where /sys/devices/system/cpu/isolated is
>   empty.
> 
> Both of these resulted in new patches.
> 
> Michal Prívozník (4):
>   virbitmap: Introduce virBitmapParseUnlimitedAllowEmpty()
>   virfile: Introduce virFileReadValueBitmapAllowEmpty()
>   virhostcpu: Introduce virHostCPUGetIsolated()
>   qemu: Substract isolcpus from all online affinity
> 
>  src/libvirt_private.syms |  3 ++
>  src/qemu/qemu_process.c  |  9 +++++
>  src/util/virbitmap.c     | 40 +++++++++++++++++---
>  src/util/virbitmap.h     |  3 ++
>  src/util/virfile.c       | 81 ++++++++++++++++++++++++++++++----------
>  src/util/virfile.h       |  2 +
>  src/util/virhostcpu.c    | 31 +++++++++++++++
>  src/util/virhostcpu.h    |  1 +
>  tests/virbitmaptest.c    | 40 ++++++++++++++++++++
>  9 files changed, 186 insertions(+), 24 deletions(-)
> 

Polite ping.

Michal
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org