From: Ian Campbell Subject: Re: [PATCH v5 7/9] ioreq-server: remove p2m entries when server is enabled Date: Tue, 6 May 2014 11:48:19 +0100 Message-ID: <1399373299.3014.75.camel@kazak.uk.xensource.com> References: <1398946120-33169-1-git-send-email-paul.durrant@citrix.com> <1398946120-33169-8-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398946120-33169-8-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: Stefano Stabellini , Ian Jackson , Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-05-01 at 13:08 +0100, Paul Durrant wrote: > For secondary servers, add a hvm op to enable/disable the server. The > server will not accept IO until it is enabled and the act of enabling > the server removes its pages from the guest p2m, thus preventing the guest > from directly mapping the pages and synthesizing ioreqs. Does the ring get reset when the server is enabled? Otherwise what prevents the guest from preloading something before the ring is activated? In terms of the tools side binding of the interface this looks fine to me. Ian.