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)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Oct 2012 21:37:18 +0000 (23:37 +0200)
commit4d092c1fe004f512a70dbe66efd50cd8cf15e66c
tree07044520285025773daf3e8ee39c69f64ed755d8
parent46e8a56a531183b0f4ff5cb08d28c2660e60fab8
KVM: Remove ability to assign a device without iommu support

commit 423873736b78f549fbfa2f715f2e4de7e6c5e1e9 upstream

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>
[dannf: backported to Debian's 2.6.32]
Signed-off-by: Willy Tarreau <w@1wt.eu>
virt/kvm/kvm_main.c