From: Tim Deegan Subject: Re: query the page type of a hvm page from within a hvm guest Date: Thu, 7 Apr 2011 12:16:02 +0100 Message-ID: <20110407111602.GI30961@whitby.uk.xensource.com> References: <20110407101202.GA31553@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <20110407101202.GA31553@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi, At 11:12 +0100 on 07 Apr (1302174722), Olaf Hering wrote: > If the crash kernel had a way to ask the hypervisor wether a specific > guest gfn is ballooned and thus backed by ram, the load issue would not > happen. There seems to be no interface to query the type of a guest gfn > from within the hvm guest. > > Any ideas how to implement that? > I see HVMOP_set_mem_type, but no HVMOP_get_mem_type. Feel free to add HVMOP_get_mem_type. I don't think any great harm can come from allowing the guest to query its own memory status. Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)