KVM: SVM: Add microcode patch level dummy
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... Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
Родитель
17071fe74f
Коммит
c8a73f186b
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче