VMX lock flag

VMX lock flag

Hi,
I was trying boot my kernel to bare metal machine over PXE, But I got issue about lock bit in MSR. According to the Intel there is IA32_FEATURE_CONTROL MSR to control VMXON instruction and Bit 0 is the lock bit that uses by OEM for disabling/enabling Virtualization in BIOS. After protected mode initialization I've checked IA32_FEATURE_CONTROL (0x3a) and that got 0x5 (the lock bit set) but It should be 0x0. Is that bios depended issue? I have checked this in few machine (Thinkpad, Acer)
 

Result:

read_msr(0x3a); ==> 0x5

 

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.