[PATCH 02/14] virnuma: Introduce virNumaCPUSetToNodeset()

Kristina Hanicova khanicov at redhat.com
Mon Mar 13 13:15:38 UTC 2023


On Wed, Mar 8, 2023 at 12:15 PM Michal Privoznik <mprivozn at redhat.com>
wrote:

> So far, we have a function that expands given list of NUMA nodes
> into list of CPUs. But soon, we are going to need the inverse -
> expand list of CPUs into list of NUMA nodes. Introduce
> virNumaCPUSetToNodeset() for that.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/libvirt_private.syms |  2 ++
>  src/util/virnuma.c       | 59 ++++++++++++++++++++++++++++++++++++++++
>  src/util/virnuma.h       |  3 ++
>  3 files changed, 64 insertions(+)
>


Reviewed-by: Kristina Hanicova <khanicov at redhat.com>

Kristina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230313/474b02ae/attachment.htm>


More information about the libvir-list mailing list