KVM: Remove ability to assign a device without iommu support
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 12 Jan 2012 10:39:53 +0000 (12:39 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Jan 2012 15:31:53 +0000 (07:31 -0800)
commit4fd9e326e5001982747225f0f7bb462e34ae9215
tree80b6e25f76f6f9e78682757524f7ea76819b717c
parent68898049e6b897cd29644c1b500e3e9593805869
KVM: Remove ability to assign a device without iommu support

(cherry picked from commit 423873736b78f549fbfa2f715f2e4de7e6c5e1e9)

This option has no users and it exposes a security hole that we
can allow devices to be assigned without iommu protection.  Make
KVM_DEV_ASSIGN_ENABLE_IOMMU a mandatory option.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/virtual/kvm/api.txt
virt/kvm/assigned-dev.c