From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Amsden Subject: Re: [PATCH 0/2] fix kvmclock bug - memory corruption Date: Tue, 04 May 2010 10:21:38 -1000 Message-ID: <4BE081D2.4080507@redhat.com> References: <1272998128-30384-1-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, avi@redhat.com, mtosatti@redhat.com To: Glauber Costa Return-path: Received: from mx1.redhat.com ([209.132.183.28]:63986 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933901Ab0EDUVq (ORCPT ); Tue, 4 May 2010 16:21:46 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o44KLkbd000517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 4 May 2010 16:21:46 -0400 In-Reply-To: <1272998128-30384-1-git-send-email-glommer@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/04/2010 08:35 AM, Glauber Costa wrote: > This patch series fixes I bug I just found with kvmclock, > when I booted into a kernel without kvmclock enabled. > > Since I am setting msrs, I took the oportunity to > use yet another function from upstream qemu (patch 1). > > Enjoy > > Glauber Costa (2): > replace set_msr_entry with kvm_msr_entry > turn off kvmclock when resetting cpu > > qemu-kvm-x86.c | 58 ++++++++++++++++++++++++++++++++--------------------- > target-i386/kvm.c | 3 ++ > 2 files changed, 38 insertions(+), 23 deletions(-) > > Acked-by: Zachary Amsden