Re: [PATCH 1/2] KVM: x86: move MSR_IA32_FEATURE_CONTROL handling to x86.c
From: Paolo Bonzini
Date: Fri Jul 08 2016 - 09:24:27 EST
On 08/07/2016 14:41, Haozhong Zhang wrote:
> On 07/08/16 14:01, Paolo Bonzini wrote:
>> > Because the MSR is listed in msrs_to_save, it is exported to userspace
>> > for both AMD and Intel processors. However, on AMD currently getting
>> > it will fail.
>> >
> Is MSR_IA32_FEATURE_CONTROL already be excluded from msrs_to_save[] by
> kvm_init_msr_list() on AMD hosts?
Uhm... you're right, because the MSR doesn't exist on AMD hosts.
Facepalm...
Paolo