Revert "hv: vmsr: add IA32_MISC_ENABLE to msr store area"

This reverts commit 98b3d98ac5.
This commit is contained in:
wenlingz 2019-03-26 13:59:21 +08:00
parent 40168e73ee
commit 3effbb05a2
2 changed files with 0 additions and 6 deletions

View File

@ -332,11 +332,6 @@ static void init_msr_area(struct acrn_vcpu *vcpu)
vcpu->arch.msr_area.guest[MSR_AREA_TSC_AUX].value = vcpu->vcpu_id;
vcpu->arch.msr_area.host[MSR_AREA_TSC_AUX].msr_index = MSR_IA32_TSC_AUX;
vcpu->arch.msr_area.host[MSR_AREA_TSC_AUX].value = vcpu->pcpu_id;
vcpu->arch.msr_area.guest[MSR_AREA_IA32_MISC_ENABLE].msr_index = MSR_IA32_MISC_ENABLE;
vcpu->arch.msr_area.guest[MSR_AREA_IA32_MISC_ENABLE].value = msr_read(MSR_IA32_MISC_ENABLE);
vcpu->arch.msr_area.host[MSR_AREA_IA32_MISC_ENABLE].msr_index = MSR_IA32_MISC_ENABLE;
vcpu->arch.msr_area.host[MSR_AREA_IA32_MISC_ENABLE].value = msr_read(MSR_IA32_MISC_ENABLE);
}
void init_msr_emulation(struct acrn_vcpu *vcpu)

View File

@ -242,7 +242,6 @@ struct msr_store_entry {
enum {
MSR_AREA_TSC_AUX = 0,
MSR_AREA_IA32_MISC_ENABLE,
MSR_AREA_COUNT,
};