I've started working on libvirt side of this feature. WIP patches can be found here:
https://github.com/zippy2/libvirt/commits/hmat I've gotten to a point where libvirt generates cmd line but QEMU refuses it. Problem is that I was looking into qemu-options.hx instead of qapi/machine.json and thus found some irregularities between these two. I'm not necessarily stating that all these patches are correct (I have some doubts about 3/3 because nearly identical code can be found in machine_set_cpu_numa_node(), but I have no idea if it's a coincidence). Michal Privoznik (3): qapi: Make @associativity, @policy and @line of NumaHmatCacheOptions optional numa: Allow HMAT cache to be defined before HMAT latency/bandwidth numa: Initialize node initiator with respect to .has_cpu hw/core/numa.c | 22 +++++++++------------- qapi/machine.json | 6 +++--- 2 files changed, 12 insertions(+), 16 deletions(-) -- 2.26.2