From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH RFC 3/4] tools/libxc: Add APIs to create and get the PV ring page Date: Fri, 2 May 2014 13:41:08 +0100 Message-ID: <1399034468.32736.103.camel@kazak.uk.xensource.com> References: <1398746705-6658-1-git-send-email-aravindp@cisco.com> <1398746705-6658-4-git-send-email-aravindp@cisco.com> 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 1WgCm9-0000tt-Fo for xen-devel@lists.xenproject.org; Fri, 02 May 2014 12:41:26 +0000 In-Reply-To: <1398746705-6658-4-git-send-email-aravindp@cisco.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: Aravindh Puthiyaparambil Cc: xen-devel@lists.xenproject.org, Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2014-04-28 at 21:45 -0700, Aravindh Puthiyaparambil wrote: > Add two APIs, xc_mem_access_create_ring_page() and > xc_mem_access_get_ring_mfn(). The mem_access listener needs to call > xc_mem_access_create_ring_page() before enabling mem_access for PV > domains. This is not needed for HVM domains as the page is created > during domain creation time. It can then call > xc_mem_access_get_ring_mfn() to get the mfn of the created page to map > in. This is requivalent to xc_get_hvm_param(HVM_PARAM_ACCESS_RING_PFN) > for HVM domains. > > Signed-off-by: Aravindh Puthiyaparambil > Cc: Ian Jackson > Cc: Stefano Stabellini Seems like a reasonable veneer over the hypercall, so assuming that is acked by the hypervisor guys this tools bit: Acked-by: Ian Campbell