]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:03 +0000 (15:35 -0400)
commitbf46eeaae85b75371290f97f57e8f85afc1fd02c
treea6c4cb7d2ab6e697b1565354f565747770472039
parentc165148d4e8e88674a8fa548ec1a33712ad3f0e3
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>
[PG: drop Documentation chunk; no api.txt file in .34 baseline]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
virt/kvm/assigned-dev.c