From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] Add microcode patch level dummy Date: Mon, 05 Jan 2009 10:28:45 -0600 Message-ID: <4962353D.70909@codemonkey.ws> References: <1231167767-851-1-git-send-email-agraf@suse.de> 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 To: Alexander Graf Return-path: Received: from mail-gx0-f13.google.com ([209.85.217.13]:49655 "EHLO mail-gx0-f13.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751765AbZAEQ2x (ORCPT ); Mon, 5 Jan 2009 11:28:53 -0500 Received: by gxk6 with SMTP id 6so5794227gxk.13 for ; Mon, 05 Jan 2009 08:28:51 -0800 (PST) In-Reply-To: <1231167767-851-1-git-send-email-agraf@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: > VMware ESX checks if the microcode level is correct when using a barcelona CPU, in > order to see if it actually can use SVM. Let's tell it we're on the safe side... > Sounds like you're able to boot ESX? Are you able to run a guest yet? Regards, Anthony Liguori > Signed-off-by: Alexander Graf > > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c > index f53be7e..3f88416 100644 > --- a/arch/x86/kvm/svm.c > +++ b/arch/x86/kvm/svm.c > @@ -1928,6 +1928,9 @@ static int svm_get_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 *data) > case MSR_VM_CR: > *data = 0; > break; > + case MSR_IA32_UCODE_REV: > + *data = 0x01000065; > + break; > default: > return kvm_get_msr_common(vcpu, ecx, data); > } > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >