aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWincy Van <[email protected]>2015-03-04 14:31:56 +0800
committerMarcelo Tosatti <[email protected]>2015-03-13 09:24:51 -0300
commit670125bda1d86edfadf81dc56a87582ac7fbd47b (patch)
tree3aa81d60a6db3effc49ca1a890aa50e071af21e4 /tools/perf/util/trace-event-scripting.c
parentc1a6bff28cbff796bf6e7db5cf42ec9244911be2 (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 <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions