[libvirt] [PATCH] conf: Allow omitting of numa node memory size

Peter Krempa pkrempa at redhat.com
Wed Feb 22 09:04:08 UTC 2017


On Tue, Feb 21, 2017 at 15:36:23 +0000, Daniel Berrange wrote:
> On Tue, Feb 21, 2017 at 04:22:05PM +0100, Peter Krempa wrote:
> > Memory-less numa nodes could be specified by setting the memory size to
> > 0. Allow ommiting of the parameter completely to specify the same.
> > 
> > Partially resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1217144
> 
> Does this correctly plumb through to the guest OS ?
> 
> Last time we tried fixing this bug we found some problems - I can't remember
> whether the problem was with 0 CPUs or 0 memory, but with one of them, QEMU
> would totally mangle the NUMA topology, merging nodes together.

I tried it and indeed the NUMA topology for a memory-less node shows up
totally broken in the guest. From your comments on the linked bugzilla
I thought that it worked properly if you specify memory='0' explicitly.

Since cpu-less nodes are possible for a long time and with the new
cpu-hotplug API you can select individual vcpus to hotplug according to
the id I was under the impression that only the syntax-sugar stuff was
necessary to cover everyting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170222/d524208a/attachment-0001.sig>


More information about the libvir-list mailing list