Re: [libvirt] [PATCH 3/4] util: Introduce virNumaNodesetToCPUset()

2019-06-03 Thread Andrea Bolognani
On Mon, 2019-06-03 at 14:13 +0200, Ján Tomko wrote: > On Fri, May 31, 2019 at 05:22:01PM +0200, Andrea Bolognani wrote: > > +int > > +virNumaNodesetToCPUset(virBitmapPtr nodeset, > > + virBitmapPtr *cpuset) > > I'd prefer the output argument to be first - see VIR_STRDUP. >

Re: [libvirt] [PATCH 3/4] util: Introduce virNumaNodesetToCPUset()

2019-06-03 Thread Ján Tomko
On Fri, May 31, 2019 at 05:22:01PM +0200, Andrea Bolognani wrote: This helper converts a set of NUMA node to the set of CPUs they contain. Signed-off-by: Andrea Bolognani --- src/libvirt_private.syms | 1 + src/util/virnuma.c | 55

[libvirt] [PATCH 3/4] util: Introduce virNumaNodesetToCPUset()

2019-05-31 Thread Andrea Bolognani
This helper converts a set of NUMA node to the set of CPUs they contain. Signed-off-by: Andrea Bolognani --- src/libvirt_private.syms | 1 + src/util/virnuma.c | 55 src/util/virnuma.h | 2 ++ 3 files changed, 58 insertions(+) diff --git