diff options
author | Jason Wang <jasowang@redhat.com> | 2020-03-02 12:24:54 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-03-08 09:27:09 -0400 |
commit | f7ef7e6e3ba6e994e070cc609eb154339d1c4a11 (patch) | |
tree | 1b1cea19b8045cddac346783280d731c8735f67e /.cirrus.yml | |
parent | 530a0963184e57e71a5b538e9161f115df533e96 (diff) | |
download | qemu-f7ef7e6e3ba6e994e070cc609eb154339d1c4a11.zip |
vhost: correctly turn on VIRTIO_F_IOMMU_PLATFORM
We turn on device IOTLB via VIRTIO_F_IOMMU_PLATFORM unconditionally on
platform without IOMMU support. This can lead unnecessary IOTLB
transactions which will damage the performance.
Fixing this by check whether the device is backed by IOMMU and disable
device IOTLB.
Reported-by: Halil Pasic <pasic@linux.ibm.com>
Tested-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20200302042454.24814-1-jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to '.cirrus.yml')
0 files changed, 0 insertions, 0 deletions