From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: [PATCH 0/2] fix kvmclock bug - memory corruption Date: Tue, 4 May 2010 14:35:26 -0400 Message-ID: <1272998128-30384-1-git-send-email-glommer@redhat.com> Cc: avi@redhat.com, zamsden@redhat.com, mtosatti@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27992 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760043Ab0EDSh2 (ORCPT ); Tue, 4 May 2010 14:37:28 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o44IbRkw021612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 4 May 2010 14:37:27 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-)