From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v4 0/4] virtio: Clean up scatterlists and use the DMA API Date: Wed, 03 Sep 2014 10:01:44 +0200 Message-ID: <5406CAE8.2080803@redhat.com> References: <1409609814.30640.11.camel@pasglop> <1409691213.30640.37.camel@pasglop> <1409695810.30640.57.camel@pasglop> <1409700010.30640.67.camel@pasglop> <1409703942.30640.71.camel@pasglop> <5406C77B.1000809@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Archive: List-Post: To: Andy Lutomirski Cc: "linux-s390@vger.kernel.org" , Benjamin Herrenschmidt , Konrad Rzeszutek Wilk , "Michael S. Tsirkin" , Linux Virtualization , Christian Borntraeger , "linux390@de.ibm.com" List-ID: Il 03/09/2014 09:52, Andy Lutomirski ha scritto: >> > IOMMU support for x86 is going to go in this week. >> > > Can you try to make sure that qemu-system-x86_64 -device iommu -device > virtio-balloon-pci (or whatever the syntax is) doesn't put the > virtio-pci device behind the IOMMU? Because, if it does, then the > kernel will have to support that, and it'll be messy. Right now it will not put the device behind the IOMMU, but I'm fairly sure that the DMAR will show the device as being behind the IOMMU. We have time till QEMU 2.2 is out to make it use the IOMMU for virtio-pci devices on x86. I'm not worried about that. The virtio-pci devices do set the "bus master" bit in the command register, right? I think they do, because otherwise MSIs will not be received by the guest. Paolo