>> However, I'll leave it up to those more familiar with the QEMU numa >> control interface design to comment on whether this approach is preferable >> to making the gi part of the numa node entry or doing it like hmat. >> -numa srat-gi,node-id=10,gi-pci-dev=dev1 > > The current way of acpi-generic-initiator object usage came out of the > discussion > on v1 to essentially link all the device NUMA nodes to the device. > (https://lore.kernel.org/all/20230926131427.1e441670.alex.william...@redhat.com/)
> Can Alex or David comment on which is preferable (the current mechanism vs 1:1 > mapping per object as suggested by Jonathan)? Just to add, IMO just a single Qemu object to tie the nodes with the device is better as the nodes are kind of a pool. Having several objects may be an overkill? Plus this is a Qemu object, eventually we populate one SRAT GI structure to expose the PXM-to-device link.