KVM: Remove ability to assign a device without iommu support
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 21 Dec 2011 04:59:03 +0000 (21:59 -0700)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Dec 2011 15:13:31 +0000 (17:13 +0200)
commit423873736b78f549fbfa2f715f2e4de7e6c5e1e9
tree62526563ccca81957a4c100aa0bc359dcd10af08
parent0924ab2cfa98b1ece26c033d696651fd62896c69
KVM: Remove ability to assign a device without iommu support

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>
Documentation/virtual/kvm/api.txt
virt/kvm/assigned-dev.c