Re: [libvirt] [PATCH v2 2/2] qemu: Figure out nodeset bitmap size correctly

2018-04-19 Thread Ján Tomko
On Thu, Apr 19, 2018 at 04:19:39PM +0200, Andrea Bolognani wrote: The current private XML parsing code relies on the assumption that NUMA node IDs start from 0 and are densely allocated, neither of which is necessarily the case. Change it so that the bitmap size is dynamically calculated by

[libvirt] [PATCH v2 2/2] qemu: Figure out nodeset bitmap size correctly

2018-04-19 Thread Andrea Bolognani
The current private XML parsing code relies on the assumption that NUMA node IDs start from 0 and are densely allocated, neither of which is necessarily the case. Change it so that the bitmap size is dynamically calculated by looking at NUMA node IDs instead, which ensures all nodes will be able