From: "Jan Beulich" Subject: Re: [PATCH v2 4/4] xen: expose that grant table mappings update the IOMMU Date: Fri, 09 May 2014 07:32:09 +0100 Message-ID: <536C92890200007800010BB3@mail.emea.novell.com> References: <1398240984-67266-1-git-send-email-roger.pau@citrix.com> <1398240984-67266-5-git-send-email-roger.pau@citrix.com> <5357AB53020000780000B4B7@nat28.tlf.novell.com> <5358C09A.3020200@citrix.com> <5358E613020000780000BD6F@nat28.tlf.novell.com> <20140508183958.GB6490@andromeda.dapyr.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WieLt-0002mq-Tb for xen-devel@lists.xenproject.org; Fri, 09 May 2014 06:32:14 +0000 In-Reply-To: <20140508183958.GB6490@andromeda.dapyr.net> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: Keir Fraser , Andrew Cooper , Ian Jackson , Tim Deegan , Ian Campbell , xen-devel@lists.xenproject.org, Roger Pau Monn?? List-Id: xen-devel@lists.xenproject.org >>> On 08.05.14 at 20:39, wrote: > On Thu, Apr 24, 2014 at 09:23:15AM +0100, Jan Beulich wrote: >> >>> On 24.04.14 at 09:43, wrote: >> > On 23/04/14 12:00, Jan Beulich wrote: >> >>>>> On 23.04.14 at 10:16, wrote: >> >>> Add a new XENFEAT_hvm_gntmap_supports_iommu that is used to check >> >>> whether the hypervisor properly updates the IOMMU on auto-translated >> >>> guests when doing a grant table map/unmap operation. >> >> >> >> Considering Boris' pending introduction of a hypervisor capabilities >> >> CPUID leaf, I wonder whether we shouldn't stop surfacing HVM-only >> >> features via XENFEAT_* flags (which afaict originally were meant to >> >> be a PV vehicle only anyway). >> > >> > I don't have a strong opinion on the best way to publish this feature, >> > so if you prefer to do it using the new CPUID leaf, I will rework this >> > patch (although I have to say using XENFEAT_* seems easier). >> >> Let's explicitly ask a few others who may have an opinion either way >> (by way of adding them to the To: list). > > Silence .. :-) > > How about just the easier path for now (XENFEAT_*)? While continuing to think it being the wrong direction, I also don't want to stand in the way of this making progress... Jan