diff options
author | Wincy Van <fanwenyi0529@gmail.com> | 2015-03-04 07:31:56 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2015-03-13 13:24:51 +0100 |
commit | 670125bda1d86edfadf81dc56a87582ac7fbd47b (patch) | |
tree | 3aa81d60a6db3effc49ca1a890aa50e071af21e4 /arch/arm/mach-ux500/board-mop500.h | |
parent | kvm: x86: i8259: return initialized data on invalid-size read (diff) | |
download | linux-670125bda1d86edfadf81dc56a87582ac7fbd47b.tar.xz linux-670125bda1d86edfadf81dc56a87582ac7fbd47b.zip |
KVM: VMX: Set msr bitmap correctly if vcpu is in guest mode
In commit 3af18d9c5fe9 ("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 <fanwenyi0529@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.h')
0 files changed, 0 insertions, 0 deletions