diff options
author | Eric Auger <eric.auger@redhat.com> | 2025-02-18 19:25:31 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-02-21 07:21:25 -0500 |
commit | d261b84d354a41a38336af813f92f636d3fb3f78 (patch) | |
tree | fe0e9bc142f6a405ea6a2f9e65ddec21d0e646b7 /scripts/qapi/commands.py | |
parent | e87b6efb11be9f5ff213461f5ecdbae47d9402b9 (diff) | |
download | qemu-d261b84d354a41a38336af813f92f636d3fb3f78.zip qemu-d261b84d354a41a38336af813f92f636d3fb3f78.tar.gz qemu-d261b84d354a41a38336af813f92f636d3fb3f78.tar.bz2 |
hw/virtio/virtio-iommu: Migrate to 3-phase reset
Currently the iommu may be reset before the devices
it protects. For example this happens with virtio-net.
Let's use 3-phase reset mechanism and reset the IOMMU on
exit phase after all DMA capable devices have been
reset during the 'enter' or 'hold' phase.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20250218182737.76722-2-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 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions