From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THBF6-0007JR-Fu for qemu-devel@nongnu.org; Thu, 27 Sep 2012 06:22:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THBF2-0006kL-A0 for qemu-devel@nongnu.org; Thu, 27 Sep 2012 06:22:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THBF2-0006kD-1S for qemu-devel@nongnu.org; Thu, 27 Sep 2012 06:22:48 -0400 Message-ID: <506428F1.6090004@redhat.com> Date: Thu, 27 Sep 2012 12:22:41 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <50597D1F.3070607@redhat.com> <505991A2.6090709@siemens.com> <5059954A.50408@redhat.com> <50600F7B.5080106@redhat.com> <50602B0A.1020403@redhat.com> <50641976.3020405@redhat.com> <50641C5F.2030202@redhat.com> <50641DB8.9090903@redhat.com> <50641E08.4040602@redhat.com> <506425B8.1040706@redhat.com> In-Reply-To: <506425B8.1040706@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [big lock] Discussion about the convention of device's DMA each other after breaking down biglock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Jan Kiszka , Marcelo Tosatti , liu ping fan , Anthony Liguori , "qemu-devel@nongnu.org" Il 27/09/2012 12:08, Avi Kivity ha scritto: >>>>> virtio-net is per-spec not going through the iommu. >>> >> What's that smell? A feature bit? >> > >> > Why is it a bad thing that it does not go through the iommu? > You can't assign the device to nested guests or to guest userspace via > vfio. Some guests may want to use the iommu even in the guest kernel > context. All good points. However, using the iommu means you cannot use either vhost-net or (at least for now) per-device lock. So it closes some doors on performance improvements... I can imagine pSeries guys prefer to keep no iommu in virtio devices. Paolo