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] Xen 4.0.0x allows for data corruption in Dom0

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Tue, 9 Mar 2010 14:03:53 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>, Daniel Stodden <Daniel.Stodden@xxxxxxxxxx>
Delivery-date: Tue, 09 Mar 2010 04:04:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C7BBD6DE.C7BD%keir.fraser@xxxxxxxxxxxxx>
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>
References: <20100309102519.GJ2580@xxxxxxxxxxx> <C7BBD6DE.C7BD%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Mar 09, 2010 at 10:43:41AM +0000, Keir Fraser wrote:
> On 09/03/2010 10:25, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:
> 
> >>> How about these being vcpu_time_info structures? The fields
> >>> appear to all make sense. The only thing not matching this would
> >>> be a few differently looking corruption entries sent earlier by Joanna,
> >>> so this may not be the only thing. But it would explain why with 3.4.2
> >>> the issue is not present.
> >> 
> >> Pasi, can you try the attached patch (which simply stubs out the new
> >> VCPUOP_register_vcpu_time_memory_area hypercall)?
> > 
> > Yeah, but there's no patch attached ;)
> 
> Good point. Attached now!
> 

I grabbed the latest rc6-pre xen-unstable.hg (*), applied your patch, compiled,
copied xen-4.0.0-rc6-pre.gz to /boot and booted using it. I didn't change 
anything else.

It seems the bug went away. No more corruption. I repeated the test three times.

-- Pasi

(*) earlier on this system I was using 4.0.0-rc5 built from src.rpm.


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

<Prev in Thread] Current Thread [Next in Thread>