From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Xen 4.0.0x allows for data corruption in Dom0 Date: Tue, 9 Mar 2010 14:03:53 +0200 Message-ID: <20100309120353.GK2580@reaktio.net> References: <20100309102519.GJ2580@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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: Keir Fraser Cc: "xen-devel@lists.xensource.com" , Joanna Rutkowska , Jan Beulich , Daniel Stodden List-Id: xen-devel@lists.xenproject.org On Tue, Mar 09, 2010 at 10:43:41AM +0000, Keir Fraser wrote: > On 09/03/2010 10:25, "Pasi K=E4rkk=E4inen" wrote: >=20 > >>> 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 Joa= nna, > >>> so this may not be the only thing. But it would explain why with 3.= 4.2 > >>> the issue is not present. > >>=20 > >> Pasi, can you try the attached patch (which simply stubs out the new > >> VCPUOP_register_vcpu_time_memory_area hypercall)? > >=20 > > Yeah, but there's no patch attached ;) >=20 > Good point. Attached now! >=20 I grabbed the latest rc6-pre xen-unstable.hg (*), applied your patch, com= piled, 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.