From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afXhJ-0002RA-P8 for qemu-devel@nongnu.org; Mon, 14 Mar 2016 14:58:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afXhE-0007UW-MQ for qemu-devel@nongnu.org; Mon, 14 Mar 2016 14:58:33 -0400 Received: from thoth.sbs.de ([192.35.17.2]:47176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afXhE-0007Tk-4Q for qemu-devel@nongnu.org; Mon, 14 Mar 2016 14:58:28 -0400 References: <56E70871.3050305@gmail.com> From: Jan Kiszka Message-ID: <56E709CF.1060109@siemens.com> Date: Mon, 14 Mar 2016 19:58:23 +0100 MIME-Version: 1.0 In-Reply-To: <56E70871.3050305@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH][RFC] IOMMU: Add Support to VFIO devices with vIOMMU present List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marcel@redhat.com, "Aviv B.D." , qemu-devel@nongnu.org, "Michael S. Tsirkin" , Alex Williamson , Peter Xu On 2016-03-14 19:52, Marcel Apfelbaum wrote: > On 03/12/2016 06:13 PM, Aviv B.D. wrote: >> From: "Aviv B.D." > >> >> * Fix bug that prevent qemu from starting up when vIOMMU and VFIO >> device are present. >> * Advertise Cache Mode capability in iommu cap register. For the final version: Please keep that feature optional, for the sake of emulation accuracy (no modern hw exposes it any more). Maybe turn it one once a vfio device is in the scope of the IOMMU? >> * Register every VFIO device with IOMMU state. >> * On page cache invalidation in vIOMMU, check if the domain belong to >> VFIO device and mirror the guest requests to host. >> >> Not working (Yet!): >> * Tested only with network interface card (ixgbevf) and >> intel_iommu=strict in guest's kernel command line. >> * Lock up under high load. >> * Errors on guest poweroff. >> * High relative latency compare to VFIO without IOMMU. > > Adding (possibly) interested developers to the thread. Thanks, Jan -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux