diff options
| author | Eric Auger <eric.auger@redhat.com> | 2025-02-18 19:25:32 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-02-21 07:21:25 -0500 |
| commit | 2aaf48bcf27d8b3da5b30af6c1ced464d3df30f7 (patch) | |
| tree | fe7c05c2311b111aa5f0ab4f77fe08661fca9d76 /hw/net/virtio-net.c | |
| parent | d261b84d354a41a38336af813f92f636d3fb3f78 (diff) | |
| download | focaccia-qemu-2aaf48bcf27d8b3da5b30af6c1ced464d3df30f7.tar.gz focaccia-qemu-2aaf48bcf27d8b3da5b30af6c1ced464d3df30f7.zip | |
hw/i386/intel-iommu: Migrate to 3-phase reset
Currently the IOMMU may be reset before the devices it protects. For example this happens with virtio devices but also with VFIO devices. In this latter case this produces spurious translation faults on host. Let's use 3-phase reset mechanism and reset the IOMMU on exit phase after all DMA capable devices have been reset on 'enter' or 'hold' phase. Signed-off-by: Eric Auger <eric.auger@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Zhenzhong Duan <zhenzhong.duan@intel.com> Message-Id: <20250218182737.76722-3-eric.auger@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions