From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMJrN-0003lB-0Q for qemu-devel@nongnu.org; Thu, 11 Oct 2012 10:35:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMJrG-0007tu-1Z for qemu-devel@nongnu.org; Thu, 11 Oct 2012 10:35:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMJrF-0007tB-Po for qemu-devel@nongnu.org; Thu, 11 Oct 2012 10:35:29 -0400 Message-ID: <5076D92B.1060200@redhat.com> Date: Thu, 11 Oct 2012 16:35:23 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1349962023-560-1-git-send-email-avi@redhat.com> <1349962023-560-8-git-send-email-avi@redhat.com> <20121011133155.GA8983@redhat.com> <5076CAFE.8060205@redhat.com> <20121011134428.GB8983@redhat.com> <5076CD2A.8000703@redhat.com> <20121011143519.GE8983@redhat.com> In-Reply-To: <20121011143519.GE8983@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, liu ping fan , Blue Swirl , Alex Williamson , Anthony Liguori , Paolo Bonzini On 10/11/2012 04:35 PM, Michael S. Tsirkin wrote: >> No, qemu should configure virtio devices to bypass the iommu, even if it >> is on. > > Okay so there will be some API that virtio devices should call > to achieve this? The iommu should probably call pci_device_bypasses_iommu() to check for such devices. -- error compiling committee.c: too many arguments to function