diff options
author | Jason Wang <jasowang@redhat.com> | 2017-07-05 15:49:51 +0800 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-07-07 10:56:12 -0400 |
commit | dd9bba5b9c1d5175a2757f3fdc9d554b4c8eea3a (patch) | |
tree | 803c7325ee6367ee858c2a698433a38884c53621 /src/hw/virtio-ring.h | |
parent | b3a9f27fb1f63e9b6bf5ca424d31e23bd5b4c2f0 (diff) | |
download | seabios-dd9bba5b9c1d5175a2757f3fdc9d554b4c8eea3a.tar.gz |
virtio: IOMMU support
Since we don't enable IOMMU at all, we can then simply enable the
IOMMU support by claiming the support of VIRITO_F_IOMMU_PLATFORM. This
fixes booting failure when iommu_platform is set from qemu cli.
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'src/hw/virtio-ring.h')
-rw-r--r-- | src/hw/virtio-ring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hw/virtio-ring.h b/src/hw/virtio-ring.h index 7665fd54..8604a011 100644 --- a/src/hw/virtio-ring.h +++ b/src/hw/virtio-ring.h @@ -18,6 +18,7 @@ /* v1.0 compliant. */ #define VIRTIO_F_VERSION_1 32 +#define VIRTIO_F_IOMMU_PLATFORM 33 #define MAX_QUEUE_NUM (128) |