Re: [libvirt] [PATCH] qemu: Deny hugepages for non-existent NUMA nodes

2018-05-22 Thread John Ferlan
On 05/18/2018 07:04 AM, Michal Privoznik wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1534418 > > Just like ec982f6d929f3c23 denies hugepages for non-existent > guest NUMA nodes in case there are some nodes configured. > Unfortunately, when there are none, qemuBuildNumaArgStr() is not >

[libvirt] [PATCH] qemu: Deny hugepages for non-existent NUMA nodes

2018-05-18 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1534418 Just like ec982f6d929f3c23 denies hugepages for non-existent guest NUMA nodes in case there are some nodes configured. Unfortunately, when there are none, qemuBuildNumaArgStr() is not called and thus we have to have check in qemuBuildMemPathStr()