vfio/spapr: Extend VFIOIOMMUOps with a release handler
authorCédric Le Goater <clg@redhat.com>
Tue, 19 Dec 2023 06:58:16 +0000 (07:58 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 5 Jan 2024 20:25:20 +0000 (21:25 +0100)
commit001a013ea3f125d2ec0e709b5765754149d8d968
treed586d9d93105734079f062f23acc639cb54b9f29
parent0c1eccd368af8805ec0fb11e6cf25d0684d37328
vfio/spapr: Extend VFIOIOMMUOps with a release handler

This allows to abstract a bit more the sPAPR IOMMU support in the
legacy IOMMU backend.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Tested-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container.c
hw/vfio/spapr.c
include/hw/vfio/vfio-container-base.h