From: Tim Deegan Subject: Re: guest crash in wrmsr_hypervisor_regs if hypercall page is paged out Date: Thu, 2 May 2013 12:20:50 +0100 Message-ID: <20130502112050.GJ65547@ocelot.phlegethon.org> References: <20130430181917.GA13893@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20130430181917.GA13893@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 20:19 +0200 on 30 Apr (1367353157), Olaf Hering wrote: > > With current xen-unstable I see this guest crash if the gfn 169ff is > paged out. The xenpaging -v output shows that 169ff is populated, but > appearently wrmsr_hypervisor_regs does not like the resulting mfn?! Looks that way: > (XEN) HVM10: Allocated Xen hypercall page at 169ff000 > (XEN) traps.c:654:d10 Bad GMFN 169ff (MFN 3e900000000) to MSR 40000000 That MFN looks like garbage, so I'm guessing that 'page' was null, i.e. get_page_from_gfn() returned NULL. I guess you'll need to instrument it up to figure out why. At least the GFN is a predictable constant which should make it easier to add debugging printout for just this case. Tim.