Received: from eggs.gnu.org ([2001:4830:134:3::10]:44157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgLpH-0006sO-Ts for qemu-devel@nongnu.org; Mon, 20 Oct 2014 18:53:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgLpB-0006GD-AA for qemu-devel@nongnu.org; Mon, 20 Oct 2014 18:53:19 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:26222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgLpB-0006G6-3o for qemu-devel@nongnu.org; Mon, 20 Oct 2014 18:53:13 -0400 Message-ID: <1413845582.17541.12.camel@ori.omang.mine.nu> From: Knut Omang Date: Tue, 21 Oct 2014 00:53:02 +0200 In-Reply-To: <1413831819.7969.48.camel@ori.omang.mine.nu> References: <1413797938-18100-1-git-send-email-mst@redhat.com> <877fzvq87z.fsf@blackfin.pond.sub.org> <20141020142356.GD11062@redhat.com> <1413818157.7969.38.camel@ori.omang.mine.nu> <544551EF.6050008@web.de> <1413831819.7969.48.camel@ori.omang.mine.nu> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] intel_iommu: fix VTD_SID_TO_BUS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel , Markus Armbruster , Le Tan , Anthony Liguori , "Michael S. Tsirkin" On Mon, 2014-10-20 at 21:03 +0200, Knut Omang wrote: > On Mon, 2014-10-20 at 20:18 +0200, Jan Kiszka wrote: > > On 2014-10-20 17:15, Knut Omang wrote: > > > On Mon, 2014-10-20 at 17:23 +0300, Michael S. Tsirkin wrote: > > >> WRT intel_iommu, it does not yet seem to be as fully functional as I > > >> hoped. People also discussed the best way to handle virtio versus iommu > > >> (it bypasses it ATM). > > >> I'd like to suggest we hide the iommu from the command line > > >> help for 2.2, this way people don't activate it mistakenly. > > >> > > >> Let's make it more complete and then enable for 2.3. > > >> > > >> Thoughts? > > > > > > Note that you have to explicitly enable iommu support in the guest > > > (intel_iommu=on on the boot command line in the Linux case) for it to > > > have any effect apart from being visible in the DMAR table and logging > > > so it should not really do any harm. > > > > > > From my perspective the feature works well and I have been running a few > > > virtual machines with div.network workload stable using the additional 4 > > > patches referred to in this post (Jan's two for interrupt remapping and > > > two bug fixes and enhancements from me for running behind bridges) : > > > > > > https://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg02986.html > > > > > > Latest version here: > > > > > > https://github.com/knuto/qemu/tree/sriov_patches_v2 > > > > > > Give me a hint and I can rebase and post the two iommu patches, I > > > believe Jan wanted to do some more work on the interrupt remapping > > > first. > > > > You should avoid to depend on my series regarding upstreaming of fixes > > or features that can be done independently. Did your bridging fixes > > depend on IR? Can you break them up? > > Yes, that was my intention with the comment (to rebase to make my two > commits independent of your interrupt remapping commits) but I realize > the language in my comment was not clear - sorry for the confusion,.. Jan, https://github.com/knuto/qemu/tree/vtd_patches_v2 now contains my iommu fixes right on qemu master (which I just posted to the list) with your interrupt remapping patches rebased on top of this. This was a a bit of work after all so maybe you can save some time from that. Knut