From patchwork Thu Jun 18 13:32:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 31143 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5IDiY9g012496 for ; Thu, 18 Jun 2009 13:44:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757707AbZFRNoX (ORCPT ); Thu, 18 Jun 2009 09:44:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755463AbZFRNoX (ORCPT ); Thu, 18 Jun 2009 09:44:23 -0400 Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15]:34189 "EHLO TX2EHSOBE009.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754705AbZFRNoW (ORCPT ); Thu, 18 Jun 2009 09:44:22 -0400 X-Greylist: delayed 905 seconds by postgrey-1.27 at vger.kernel.org; Thu, 18 Jun 2009 09:44:22 EDT Received: from mail194-tx2-R.bigfish.com (10.9.14.251) by TX2EHSOBE009.bigfish.com (10.9.40.29) with Microsoft SMTP Server id 8.1.340.0; Thu, 18 Jun 2009 13:29:19 +0000 Received: from mail194-tx2 (localhost.localdomain [127.0.0.1]) by mail194-tx2-R.bigfish.com (Postfix) with ESMTP id 5B3A014B0340; Thu, 18 Jun 2009 13:29:19 +0000 (UTC) X-SpamScore: 3 X-BigFish: VPS3(zzzz1202hzzz32i17ch43j64h) X-Spam-TCS-SCL: 3:0 Received: by mail194-tx2 (MessageSwitch) id 1245331758117081_19549; Thu, 18 Jun 2009 13:29:18 +0000 (UCT) Received: from ausb3extmailp01.amd.com (unknown [163.181.251.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail194-tx2.bigfish.com (Postfix) with ESMTP id CAEDD16E005A; Thu, 18 Jun 2009 13:29:17 +0000 (UTC) Received: from ausb3twp01.amd.com ([163.181.250.37]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n5IDTDJL029332; Thu, 18 Jun 2009 08:29:16 -0500 X-WSS-ID: 0KLFS4J-01-0T7-01 Received: from sausexbh1.amd.com (sausexbh1.amd.com [163.181.22.101]) by ausb3twp01.amd.com (Tumbleweed MailGate 3.5.1) with ESMTP id 244271943C9; Thu, 18 Jun 2009 08:29:06 -0500 (CDT) Received: from sausexmb4.amd.com ([163.181.3.15]) by sausexbh1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Jun 2009 08:29:12 -0500 Received: from SDRSEXMB1.amd.com ([172.20.3.116]) by sausexmb4.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Jun 2009 08:29:11 -0500 Received: from localhost.localdomain ([165.204.15.42]) by SDRSEXMB1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Jun 2009 15:29:09 +0200 From: Andre Przywara To: avi@redhat.com CC: kvm@vger.kernel.org, Andre Przywara Subject: [PATCH] fix renamed MSR_K8_HWCR name Date: Thu, 18 Jun 2009 15:32:44 +0200 Message-ID: <1245331964-16202-1-git-send-email-andre.przywara@amd.com> X-Mailer: git-send-email 1.6.1.3 X-OriginalArrivalTime: 18 Jun 2009 13:29:09.0390 (UTC) FILETIME=[C2BE42E0:01C9F018] MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The definition of MSR_K8_HWCR was removed upstream in favor of MSR_K7_HWCR. Signed-off-by: Andre Przywara --- arch/x86/kvm/svm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index c283201..481010c 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -2149,7 +2149,7 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 data) break; case MSR_VM_CR: case MSR_VM_IGNNE: - case MSR_K8_HWCR: + case MSR_K7_HWCR: pr_unimpl(vcpu, "unimplemented wrmsr: 0x%x data 0x%llx\n", ecx, data); break; default: