Files
linux/arch/x86/kvm
Wincy Van 670125bda1 KVM: VMX: Set msr bitmap correctly if vcpu is in guest mode
In commit 3af18d9c5f ("KVM: nVMX: Prepare for using hardware MSR bitmap"),
we are setting MSR_BITMAP in prepare_vmcs02 if we should use hardware. This
is not enough since the field will be modified by following vmx_set_efer.

Fix this by setting vmx_msr_bitmap_nested in vmx_set_msr_bitmap if vcpu is
in guest mode.

Signed-off-by: Wincy Van <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
2015-03-13 09:24:51 -03:00
..
2014-10-24 13:21:14 +02:00
…
…
2015-01-30 09:39:54 +01:00
…