From: Boris Derzhavets Subject: Re: [PATCH 0 of 5] PV on HVM Xen Date: Mon, 15 Mar 2010 10:49:34 -0700 (PDT) Message-ID: <884177.77903.qm@web56107.mail.re3.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0794371010==" Return-path: In-Reply-To: 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 , Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini , Sheng Yang List-Id: xen-devel@lists.xenproject.org --===============0794371010== Content-Type: multipart/alternative; boundary="0-801127192-1268675374=:77903" --0-801127192-1268675374=:77903 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable In fact it means if i am on Ubuntu HVM - patch set has to applied to Ubuntu= 's kernel and "initrd"=A0 rebuilt. HVM reloaded if i am on Fedora Hvm - patch set has to applied to Fedora's kernel and "in= itrd" rebuilt HVM reloaded Boris. --- On Mon, 3/15/10, Stefano Stabellini = wrote: From: Stefano Stabellini Subject: Re: [Xen-devel] [PATCH 0 of 5] PV on HVM Xen To: "Jeremy Fitzhardinge" Cc: "Boris Derzhavets" , "xen-devel@lists.xensource.= com" , "Sheng Yang" ,= "Stefano Stabellini" Date: Monday, March 15, 2010, 1:27 PM 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. > > >=20 > OK, over to you Stefano.=A0 Why is Boris seeing an instacrash in dom0 wit= h=20 > your patches in place? >=20 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) =A0 =A0 =A0 =A0 int r; =A0 =A0 =A0 =A0 uint64_t callback_via; +=A0 =A0 =A0=A0=A0if (xen_pv_domain()) +=A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0return; =0A=0A=0A --0-801127192-1268675374=:77903 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
In fact it means if i am on Ubuntu HVM - patc= h set has to applied to Ubuntu's kernel
and "initrd"  rebuilt. HVM = reloaded
if i am on Fedora Hvm - patch set has to applied to Fedora's ke= rnel and "initrd" rebuilt
HVM reloaded

Boris.

--- On Mo= n, 3/15/10, Stefano Stabellini <stefano.stabellini@eu.citrix.com><= /i> wrote:

From: Stefano Stabellini <= ;stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-devel] [PATCH 0 = of 5] PV on HVM Xen
To: "Jeremy Fitzhardinge" <jeremy@goop.org>Cc: "Boris Derzhavets" <bderzhavets@yahoo.com>, "xen-devel@lists.xen= source.com" <xen-devel@lists.xensource.com>, "Sheng Yang" <sheng@l= inux.intel.com>, "Stefano Stabellini" <Stefano.Stabellini@eu.citrix.com>
Date: Monday, March 15, 2010, = 1:27 PM

On Fri, 12 Mar 2010, Jeremy Fitzhar= dinge 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 <= br>> your patches in place?
>

As you might know already, t= he new patch series works as domU kernel
only so this problem doesn't ex= ist anymore.

I decided to chase this bug anyway and it turns out tha= t I was just
missing:

@@ -1345,6 +1346,8 @@ void __init xen_guest= _init(void)
        int r;
      &= nbsp; uint64_t callback_via;

+       if (xe= n_pv_domain())
+              &n= bsp;return;


=0A=0A --0-801127192-1268675374=:77903-- --===============0794371010== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0794371010==--