Re: [PATCH v4] KVM: nVMX: Fix read/write to MSR_IA32_FEATURE_CONTROL

2013-07-11 Thread Gleb Natapov
On Mon, Jul 08, 2013 at 07:12:35PM +0800, Arthur Chunqi Li wrote: From: Nadav Har'El n...@math.technion.ac.il Fix read/write to IA32_FEATURE_CONTROL MSR in nested environment. This patch simulate this MSR in nested_vmx and the default value is 0x0. BIOS should set it to 0x5 before VMXON.

[PATCH v4] KVM: nVMX: Fix read/write to MSR_IA32_FEATURE_CONTROL

2013-07-08 Thread Arthur Chunqi Li
From: Nadav Har'El n...@math.technion.ac.il Fix read/write to IA32_FEATURE_CONTROL MSR in nested environment. This patch simulate this MSR in nested_vmx and the default value is 0x0. BIOS should set it to 0x5 before VMXON. After setting the lock bit, write to it will cause #GP(0). Another QEMU