aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2025-07-02 14:58:43 -0700
committerCédric Le Goater <clg@redhat.com>2025-07-03 13:42:28 +0200
commitab48cedc648a60a3e51db73acf12148d90f19c4c (patch)
tree9ac9bfb246e795e2d5e7f2bb935b3e5922291748 /include
parente563dc88c21915e111ecef0756cc291e9e473c35 (diff)
downloadqemu-ab48cedc648a60a3e51db73acf12148d90f19c4c.zip
qemu-ab48cedc648a60a3e51db73acf12148d90f19c4c.tar.gz
qemu-ab48cedc648a60a3e51db73acf12148d90f19c4c.tar.bz2
backends/iommufd: change process ioctl
Define the change process ioctl Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Link: https://lore.kernel.org/qemu-devel/1751493538-202042-7-git-send-email-steven.sistare@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/system/iommufd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/system/iommufd.h b/include/system/iommufd.h
index 2d24d93..db5f2c7 100644
--- a/include/system/iommufd.h
+++ b/include/system/iommufd.h
@@ -69,6 +69,9 @@ bool iommufd_backend_invalidate_cache(IOMMUFDBackend *be, uint32_t id,
uint32_t *entry_num, void *data,
Error **errp);
+bool iommufd_change_process_capable(IOMMUFDBackend *be);
+bool iommufd_change_process(IOMMUFDBackend *be, Error **errp);
+
#define TYPE_HOST_IOMMU_DEVICE_IOMMUFD TYPE_HOST_IOMMU_DEVICE "-iommufd"
OBJECT_DECLARE_TYPE(HostIOMMUDeviceIOMMUFD, HostIOMMUDeviceIOMMUFDClass,
HOST_IOMMU_DEVICE_IOMMUFD)