]> Git Repo - qemu.git/commit - hw/virtio/virtio-bus.c
virtio: force VIRTIO_F_IOMMU_PLATFORM
authorJason Wang <[email protected]>
Tue, 17 Jan 2017 04:01:00 +0000 (12:01 +0800)
committerMichael S. Tsirkin <[email protected]>
Thu, 19 Jan 2017 21:00:31 +0000 (23:00 +0200)
commit2943b53f682f54548e7ddcf2ebb6c6d12d8dc821
treee995398fca685fe0d9df6b0889961b782cf9bdd3
parent6bdc21c050a2a7b92cbbd0b2a1f8934e9b5f896f
virtio: force VIRTIO_F_IOMMU_PLATFORM

We allow vhost to clear VIRITO_F_IOMMU_PLATFORM which is wrong since
VIRTIO_F_IOMMU_PLATFORM is mandatory for security. Fixing this by
enforce it after vdc->get_features().

Signed-off-by: Jason Wang <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/virtio-bus.c
This page took 0.024653 seconds and 4 git commands to generate.