From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/2] kvm: Remove ability to assign a device without iommu support Date: Tue, 20 Dec 2011 11:19:11 +0200 Message-ID: <4EF0530F.3050309@redhat.com> References: <20111220030826.11829.9141.stgit@bling.home> <20111220031947.11829.66292.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, jan.kiszka@siemens.com To: Alex Williamson Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51516 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751638Ab1LTJTQ (ORCPT ); Tue, 20 Dec 2011 04:19:16 -0500 In-Reply-To: <20111220031947.11829.66292.stgit@bling.home> Sender: kvm-owner@vger.kernel.org List-ID: On 12/20/2011 05:19 AM, Alex Williamson wrote: > 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 > --- > > virt/kvm/assigned-dev.c | 18 +++++++++--------- > Documentation/virtual/kvm/api.txt +++ -- error compiling committee.c: too many arguments to function