]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: pass numa node binding preferences to qemu
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 2 Jul 2014 09:15:45 +0000 (11:15 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 16 Jul 2014 18:15:46 +0000 (20:15 +0200)
commit1c19d3e0720e2d1d14c7819557a5c62f7ac00726
tree1b61187291941569fb805fdc160e87ded9154268
parent001b9dc1dcd568159cbe253e3736b873534bd254
qemu: pass numa node binding preferences to qemu

Currently, we only bind the whole QEMU domain to memory nodes
specified in nodemask altogether.  That, however, doesn't make much
sense when one wants to control from where the memory for particular
guest nodes should be allocated.  QEMU allows us to do that by
specifying 'host-nodes' parameter for the 'memory-backend-ram' object,
so let's use that.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-numatune-memnode-no-memory.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-numatune-memnode.args [new file with mode: 0644]
tests/qemuxml2argvtest.c