Add microcode patch level dummy
PATCH 1/1 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...
arch/x86/kvm/svm.c +3 -0
@@ -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); }
Quoted 3 lines · Alexander Graf
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...
Sounds like you're able to boot ESX? Are you able to run a guest yet?
Regards,
Anthony Liguori
Quoted 21 lines
Signed-off-by Alexander Graf <[email protected]>arch/x86/kvm/svm.c +3
-1@@ -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); } --To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Anthony Liguori
Quoted 5 lines · Alexander Graf
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...Sounds like you're able to boot ESX? Are you able to run a guest yet?
The moment you wrote the mail I just managed to get ReactOS running in ESX. It does not use SVM yet though. I wonder when/if ESX actually does use SVM.
Alex
Quoted 7 lines · Alexander Graf
Quoted 6 lines · Anthony Liguori
Quoted 5 lines · Alexander Graf
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...
Quoted 6 lines
Quoted 1 line
Sounds like you're able to boot ESX? Are you able to run a guest yet?
The moment you wrote the mail I just managed to get ReactOS running in ESX. It does not use SVM yet though. I wonder when/if ESX actually does use SVM.
Is the guest 64-bit? I am suspecting ESX 3.5 series does not use VT/SVM for 32-bit guests, but have not been able to positively confirm it.
david
Quoted 7 lines
Alex
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 14 lines · David S. Ahern
Quoted 12 lines · Alexander Graf
Quoted 10 lines · Anthony Liguori
Quoted 6 lines · Alexander Graf
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...Sounds like you're able to boot ESX? Are you able to run a guest yet?
Quoted 9 lines
Quoted 5 lines
The moment you wrote the mail I just managed to get ReactOS running in ESX. It does not use SVM yet though. I wonder when/if ESX actually does use SVM.
Is the guest 64-bit? I am suspecting ESX 3.5 series does not use VT/SVM for 32-bit guests, but have not been able to positively confirm it.
I told VMware it's "an unknown 64-bit Linux guest". Oh well, I can try to actually run 64-bit code in the VM :).
Alex
Quoted 10 lines · Alexander Graf
Quoted 8 lines · Anthony Liguori
Quoted 6 lines · Alexander Graf
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...
Quoted 7 lines
Quoted 2 lines
Sounds like you're able to boot ESX? Are you able to run a guest yet?
The moment you wrote the mail I just managed to get ReactOS running in ESX. It does not use SVM yet though. I wonder when/if ESX actually does use SVM.
I'm pretty certain that if ESX detects that it is running under ESX, it disables SVM/VT. There was a fair bit of noise a few months ago because a certain beta version of VMware didn't do this which meant you could no longer run ESX nested. They quickly fixed that.
I'd try disabling vmport and the hypervisor present bit.
Regards,
Anthony Liguori
Quoted 3 lines
Alex
Quoted 18 lines · Anthony Liguori
Quoted 9 lines · Alexander Graf
Quoted 7 lines · Anthony Liguori
Quoted 5 lines · Alexander Graf
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...Quoted 7 lines
Quoted 2 lines
Sounds like you're able to boot ESX? Are you able to run a guest yet?
The moment you wrote the mail I just managed to get ReactOS running in ESX. It does not use SVM yet though. I wonder when/if ESX actually does use SVM.
Quoted 6 lines
I'm pretty certain that if ESX detects that it is running under ESX, it disables SVM/VT. There was a fair bit of noise a few months ago because a certain beta version of VMware didn't do this which meant you could no longer run ESX nested. They quickly fixed that.
I'd try disabling vmport and the hypervisor present bit.
Now - that's the issue. VMware tries to detect the CPU TSC speed and matches if that's a multiple of the bus speed (66Mhz). If not, it panics. The only way I found around this was to expose the TSC frequency bits to ESX using the VMware backdoor - but now it thinks it's actually running inside VMware!
Alex
Avi Kivity
AppliedQuoted 3 lines · Alexander Graf
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...
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function