On 2025/09/18 14:53, CLEMENT MATHIEU--DRIF wrote:
Hi Akihiko,
Why do we change the naming scheme in amd-vi?
Did you have any issue with the old one?
QOM-ifying AddressSpaces moves the responsibility to create distinct
identifiers for debug outputs from the callers of address_space_init()
to AddressSpaces. QOM-ified AddressSpaces can create unique, unambigous
identifiers by inspecting the QOM hierarchy and cover all devices, not
just amd-iommu.
If we decide not to stick to the old one, maybe splitting the slot and function
would be convenient.
Strictly speaking such a change is an out-of-scope of this patch, but it
won't hurt to have it. I'll make the change with the next version.
Regards,
Akihiko Odaki