WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 0 of 5] PV on HVM Xen

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0 of 5] PV on HVM Xen
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Mon, 15 Mar 2010 10:49:34 -0700 (PDT)
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Sheng Yang <sheng@xxxxxxxxxxxxxxx>
Delivery-date: Mon, 15 Mar 2010 10:50:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1268675374; bh=ND6sK4fSKeov5FEHGcUlzQiUJpKW23SDDotynk+fdyk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=x5UTIfzkqATOcRBwY9P3p2+vB9ekXCo+k12xoMtuRv+00XPTypVhNZKO4l9LbcjOhcIey7FrI81snMtIumm/YABF9yj5jw1fe9OL+f1O6WroekQlJzlextOQirIRn4v0gqrHv65fHDqyqVQ2fbI95jBqClU8UvMXuKr64rz48Tw=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=3Etsr93PQZX1ysW5nRHEtPNJr5T3Kh83+C2Pxx1VDHAdocdPSbPRRvybjexjWfIXl97+o3qs9h45EZEm8bWpFsAVHyaRFUy55WeOUkaw5qXytkq2l7LSuDnVmmatx4VNMsb1PtDzndBqRFzHeAhBtZdG0M7xJQBq4Tjb/tM4eqo=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1003151725140.25829@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
In fact it means if i am on Ubuntu HVM - patch 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 kernel and "initrd" rebuilt
HVM reloaded

Boris.

--- On Mon, 3/15/10, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:

From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0 of 5] PV on HVM Xen
To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
Cc: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Sheng Yang" <sheng@xxxxxxxxxxxxxxx>, "Stefano Stabellini" <Stefano.Stabellini@xxxxxxxxxxxxx>
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.
> >
>
> 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;


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel