From: Stefano Stabellini Subject: Re: [PATCH 0 of 5] PV on HVM Xen Date: Mon, 15 Mar 2010 17:27:10 +0000 Message-ID: References: <516578.30217.qm@web56103.mail.re3.yahoo.com> <4B9ABE9A.1040407@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <4B9ABE9A.1040407@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Boris Derzhavets , "xen-devel@lists.xensource.com" , Stabellini Stefano, Sheng Yang List-Id: xen-devel@lists.xenproject.org On Fri, 12 Mar 2010, Jeremy Fitzhardinge wrote: > On 03/12/2010 02:13 PM, Boris Derzhavets wrote: > > Yes. That's what i see on my box. > > > > OK, over to you Stefano. Why is Boris seeing an instacrash in dom0 with > your patches in place? > As you might know already, the new patch series works as domU kernel only so this problem doesn't exist anymore. I decided to chase this bug anyway and it turns out that I was just missing: @@ -1345,6 +1346,8 @@ void __init xen_guest_init(void) int r; uint64_t callback_via; + if (xen_pv_domain()) + return;