This series extends PCIe Atomic Ops completer support to multifunction vfio-pci devices. It is an update on previously discussed issues
Patch 1 refactors the existing atomic capability checking logic into a reusable helper function. Patch 2 extends the support to multifunction devices by calculating the intersection of atomic capabilities across all functions, deferring configuration to machine_done time when all functions are realized. This extends commit c00aac6f14. Manojlo Pekovic (2): vfio/pci: Refactor atomic capability checking vfio/pci: Support multifunction atomic ops capability hw/vfio/pci.c | 191 +++++++++++++++++++++++++++++++++++++++++++------- hw/vfio/pci.h | 1 + 2 files changed, 170 insertions(+), 22 deletions(-)
