All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Alexander Graf <agraf@suse.de>
Cc: kvm@vger.kernel.org, avi@redhat.com
Subject: Re: [PATCH] Add microcode patch level dummy
Date: Mon, 05 Jan 2009 10:28:45 -0600	[thread overview]
Message-ID: <4962353D.70909@codemonkey.ws> (raw)
In-Reply-To: <1231167767-851-1-git-send-email-agraf@suse.de>

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 <agraf@suse.de>
>
> 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
>   


  reply	other threads:[~2009-01-05 16:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 15:02 [PATCH] Add microcode patch level dummy Alexander Graf
2009-01-05 16:28 ` Anthony Liguori [this message]
2009-01-05 16:30   ` Alexander Graf
2009-01-05 16:38     ` David S. Ahern
2009-01-05 16:39       ` Alexander Graf
2009-01-05 16:40     ` Anthony Liguori
2009-01-05 17:08       ` Alexander Graf
2009-01-06  9:29 ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4962353D.70909@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=agraf@suse.de \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.