From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asY95-0003hq-FT for qemu-devel@nongnu.org; Tue, 19 Apr 2016 12:05:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asY91-0002F8-Nt for qemu-devel@nongnu.org; Tue, 19 Apr 2016 12:04:59 -0400 Date: Tue, 19 Apr 2016 19:04:43 +0300 From: "Michael S. Tsirkin" Message-ID: <20160419190314-mutt-send-email-mst@redhat.com> References: <20160418160731-mutt-send-email-mst@redhat.com> <1460988232.22654.7.camel@infradead.org> <20160418170534-mutt-send-email-mst@redhat.com> <1460992923.3765.8.camel@infradead.org> <20160418182320-mutt-send-email-mst@redhat.com> <1460994701.3765.23.camel@infradead.org> <20160418190203-mutt-send-email-mst@redhat.com> <1461004173.3765.73.camel@infradead.org> <20160419103815-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH RFC] fixup! virtio: convert to use DMA api List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andy Lutomirski Cc: Cornelia Huck , Christian Borntraeger , "qemu-devel@nongnu.org Developers" , David Woodhouse , Wei Liu , Alex Williamson , peterx@redhat.com, Stefan Hajnoczi , Linux Virtualization , qemu-block@nongnu.org, Kevin Wolf , Amit Shah , "linux-kernel@vger.kernel.org" , Jason Wang , Paolo Bonzini , kvm list On Tue, Apr 19, 2016 at 09:00:27AM -0700, Andy Lutomirski wrote: > On Apr 19, 2016 2:13 AM, "Michael S. Tsirkin" wrote: > > > > > > I guess you are right in that we should split this part out. > > What I wanted is really the combination > > PASSTHROUGH && !PLATFORM so that we can say "ok we don't > > need to guess, this device actually bypasses the IOMMU". > > What happens when you use a device like this on Xen or with a similar > software translation layer? I think you don't use it on Xen since virtio doesn't bypass an IOMMU there. If you do you have misconfigured your device. -- MST