diff options
author | Wincy Van <fanwenyi0529@gmail.com> | 2015-03-04 14:31:56 +0800 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2015-03-13 09:24:51 -0300 |
commit | 670125bda1d86edfadf81dc56a87582ac7fbd47b (patch) | |
tree | 3aa81d60a6db3effc49ca1a890aa50e071af21e4 /arch/sparc | |
parent | c1a6bff28cbff796bf6e7db5cf42ec9244911be2 (diff) |
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/sparc')
0 files changed, 0 insertions, 0 deletions