NUMAD is a simple program that makes doing NUMA related tasks for qemu much easier. Basically its an automatic NUMA affinity management daemon.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-tool_reference-numad
https://linux.die.net/man/8/numad
Basically when creating a VM you can set the numa stuff to "auto" and it will go out using NUMAD and determ