Re: [PATCH -v3] KVM: MCE: Add MCE support to KVM

Huang Ying
2009-05-11T09:08:12Z

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

On Mon, 2009-05-11 at 17:05 +0800, Jaswinder Singh Rajput wrote:
> On Mon, 2009-05-11 at 16:48 +0800, Huang Ying wrote:
> > +int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
> > +{
> > + u64 data;
> > +
> > + switch (msr) {
> > + case 0xc0010010: /* SYSCFG */
> > + case 0xc0010015: /* HWCR */
>
> You can replace this with :
>
> + case MSR_K8_SYSCFG:
> + case MSR_K8_HWCR:
>

I do not change this actually. So I think it should be changed in
another patch.

Best Regards,
Huang Ying

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]