aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2023-12-19 07:58:16 +0100
committerCédric Le Goater <clg@redhat.com>2024-01-05 21:25:20 +0100
commit001a013ea3f125d2ec0e709b5765754149d8d968 (patch)
treed586d9d93105734079f062f23acc639cb54b9f29 /include
parent0c1eccd368af8805ec0fb11e6cf25d0684d37328 (diff)
downloadqemu-001a013ea3f125d2ec0e709b5765754149d8d968.zip
qemu-001a013ea3f125d2ec0e709b5765754149d8d968.tar.gz
qemu-001a013ea3f125d2ec0e709b5765754149d8d968.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/hw/vfio/vfio-container-base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-container-base.h b/include/hw/vfio/vfio-container-base.h
index 2ae297c..5c9594b 100644
--- a/include/hw/vfio/vfio-container-base.h
+++ b/include/hw/vfio/vfio-container-base.h
@@ -117,5 +117,6 @@ struct VFIOIOMMUOps {
Error **errp);
void (*del_window)(VFIOContainerBase *bcontainer,
MemoryRegionSection *section);
+ void (*release)(VFIOContainerBase *bcontainer);
};
#endif /* HW_VFIO_VFIO_CONTAINER_BASE_H */