diff options
| author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-07-22 15:07:13 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-07-23 17:14:52 +0200 |
| commit | 8b8705e7f20afa545862fcae15c1515b8a832d2d (patch) | |
| tree | 28539a52b4895e95b62b88278ff04cf135f5390f /hw/vfio/helpers.c | |
| parent | c598d65aef4016b80608c93e2fba2c46d4c5e42e (diff) | |
| download | focaccia-qemu-8b8705e7f20afa545862fcae15c1515b8a832d2d.tar.gz focaccia-qemu-8b8705e7f20afa545862fcae15c1515b8a832d2d.zip | |
vfio/ccw: Don't initialize HOST_IOMMU_DEVICE with mdev
mdevs aren't "physical" devices and when asking for backing IOMMU info,
it fails the entire provisioning of the guest. Fix that by setting
vbasedev->mdev true so skipping HostIOMMUDevice initialization in the
presence of mdevs.
Fixes: 930589520128 ("vfio/iommufd: Implement HostIOMMUDeviceClass::realize() handler")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Acked-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'hw/vfio/helpers.c')
0 files changed, 0 insertions, 0 deletions