virtio-iommu: Implement fault reporting
commita7c1da8adc4553854433d749c69319daa670ce69
authorEric Auger <eric.auger@redhat.com>
Fri, 14 Feb 2020 13:27:41 +0000 (14 14:27 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 27 Feb 2020 08:46:10 +0000 (27 03:46 -0500)
treebd549bb83e4571c346c63936beebd23f834da411
parented8449b30b29f9da10746d3e5672248f3e4b675b
virtio-iommu: Implement fault reporting

The event queue allows to report asynchronous errors.
The translate function now injects faults when relevant.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20200214132745.23392-7-eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/trace-events
hw/virtio/virtio-iommu.c