From: "Jan Beulich" Subject: Re: [RFC] Dom0 PV IOMMU control design (draft A) Date: Mon, 14 Apr 2014 16:48:52 +0100 Message-ID: <534C1F84020000780000896C@nat28.tlf.novell.com> References: <5348264B.1040800@citrix.com> <20140411175036.GA15429@phenom.dumpdata.com> <534BD097.1090407@citrix.com> <20140414125157.GB22384@phenom.dumpdata.com> <534BF8BA.2040601@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WZj7y-00084m-CP for xen-devel@lists.xenproject.org; Mon, 14 Apr 2014 15:48:58 +0000 In-Reply-To: <534BF8BA.2040601@citrix.com> 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: Malcolm Crossley Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 14.04.14 at 17:03, wrote: > On 14/04/14 13:51, Konrad Rzeszutek Wilk wrote: >> On Mon, Apr 14, 2014 at 01:12:07PM +0100, Malcolm Crossley wrote: >>> On 11/04/14 18:50, Konrad Rzeszutek Wilk wrote: >>>> On Fri, Apr 11, 2014 at 06:28:43PM +0100, Malcolm Crossley wrote: >>>>> Hi, >>>>> >>>>> Here is a design for allowing Dom0 PV guests to control the IOMMU. >> With the device driver domains I think you should also rename the >> 'dom0' to device driver or 'hardware domain' - as this functionality >> should be possible within an PV guest with PCI passthrough for example. > Currently Xen only allows Dom0 IOMMU access to all (expect Xen) MFN's. Except in dom0-strict mode, which your proposal doesn't even support. Yet mid/long term that mode should imo be what Dom0 should be run in by default. > To not change the current security implications of the feature I would > prefer that 'hardware domain' support was added as a separate design. I think you mean "driver domain" here; "hardware domain" is the generalized term for Dom0 (and with most of the respective changes for the latter already in the staging tree I think you ought to no longer use the term "Dom0" here). Jan