summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-07-06 14:23:51 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-11 10:49:29 +0300
commit9314006db8b781715658cd6a28994d84ccce5dee (patch)
tree697266208e6f5de2b2518a5cf47af15feb4d7bb3 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent55123e3c862d98dc4fbcade38d158c32c022afd8 (diff)
downloadlinux-9314006db8b781715658cd6a28994d84ccce5dee.tar.xz
KVM: nVMX: keep preemption timer enabled during L2 execution
Because the vmcs12 preemption timer is emulated through a separate hrtimer, we can keep on using the preemption timer in the vmcs02 to emulare L1's TSC deadline timer. However, the corresponding bit in the pin-based execution control field must be kept consistent between vmcs01 and vmcs02. On vmentry we copy it into the vmcs02; on vmexit the preemption timer must be disabled in the vmcs01 if a preemption timer vmexit happened while in guest mode. The preemption timer value in the vmcs02 is set by vmx_vcpu_run, so it need not be considered in prepare_vmcs02. Cc: Yunhong Jiang <yunhong.jiang@intel.com> Cc: Haozhong Zhang <haozhong.zhang@intel.com> Tested-by: Wanpeng Li <kernellwp@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions