diff options
author | Cédric Le Goater <clg@redhat.com> | 2024-06-17 08:34:00 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-06-24 23:15:31 +0200 |
commit | 17401879c416c48c72e5e4d805244b893d44637c (patch) | |
tree | f85f6f27d821dea5e009d7b73015265f10093948 /scripts/qapi | |
parent | 55974f35eac3d8166a8dee498b1efee2ef9663c5 (diff) | |
download | qemu-17401879c416c48c72e5e4d805244b893d44637c.zip qemu-17401879c416c48c72e5e4d805244b893d44637c.tar.gz qemu-17401879c416c48c72e5e4d805244b893d44637c.tar.bz2 |
vfio/container: Introduce vfio_get_iommu_class_name()
Rework vfio_get_iommu_class() to return a literal class name instead
of a class object. We will need this name to instantiate the object
later on. Since the default case asserts, remove the error report as
QEMU will simply abort before.
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions