diff options
| author | Joao Martins <joao.m.martins@oracle.com> | 2024-07-19 13:04:52 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-07-23 17:14:52 +0200 |
| commit | b07dcb7d4f116b157de5aaacfa9d58a496a9ed1d (patch) | |
| tree | caa902be4fe26cec05340de069960b1175226cf4 /hw/vfio/helpers.c | |
| parent | 2d1bf2589736b3714f3940d360404732ac13019c (diff) | |
| download | focaccia-qemu-b07dcb7d4f116b157de5aaacfa9d58a496a9ed1d.tar.gz focaccia-qemu-b07dcb7d4f116b157de5aaacfa9d58a496a9ed1d.zip | |
vfio/iommufd: Return errno in iommufd_cdev_attach_ioas_hwpt()
In preparation to implement auto domains have the attach function return the errno it got during domain attach instead of a bool. -EINVAL is tracked to track domain incompatibilities, and decide whether to create a new IOMMU domain. Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Diffstat (limited to 'hw/vfio/helpers.c')
0 files changed, 0 insertions, 0 deletions