mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
KVM: x86: fix KVM_GET_MSR for PV EOI
KVM_GET_MSR was missing support for PV EOI, which is needed for migration. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
760a9a30ad
commit
1d92128fe9
@ -2000,6 +2000,9 @@ int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
|
|||||||
case MSR_KVM_STEAL_TIME:
|
case MSR_KVM_STEAL_TIME:
|
||||||
data = vcpu->arch.st.msr_val;
|
data = vcpu->arch.st.msr_val;
|
||||||
break;
|
break;
|
||||||
|
case MSR_KVM_PV_EOI_EN:
|
||||||
|
data = vcpu->arch.pv_eoi.msr_val;
|
||||||
|
break;
|
||||||
case MSR_IA32_P5_MC_ADDR:
|
case MSR_IA32_P5_MC_ADDR:
|
||||||
case MSR_IA32_P5_MC_TYPE:
|
case MSR_IA32_P5_MC_TYPE:
|
||||||
case MSR_IA32_MCG_CAP:
|
case MSR_IA32_MCG_CAP:
|
||||||
|
Loading…
Reference in New Issue
Block a user