aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2017-06-06 12:57:06 +0200
committerPaolo Bonzini <[email protected]>2017-09-27 13:45:42 +0200
commit31afb2ea2b10a7d17ce3db4cdb0a12b63b2fe08a (patch)
tree6b95d75fe5afe16e396968ba6d99f34e0868af37 /tools/perf/scripts/python/call-graph-from-sql.py
parent8b306e2f3c41939ea528e6174c88cfbfff893ce1 (diff)
KVM: VMX: simplify and fix vmx_vcpu_pi_load
The simplify part: do not touch pi_desc.nv, we can set it when the VCPU is first created. Likewise, pi_desc.sn is only handled by vmx_vcpu_pi_load, do not touch it in __pi_post_block. The fix part: do not check kvm_arch_has_assigned_device, instead check the SN bit to figure out whether vmx_vcpu_pi_put ran before. This matches what the previous patch did in pi_post_block. Cc: Huangweidong <[email protected]> Cc: Gonglei <[email protected]> Cc: wangxin <[email protected]> Cc: Radim Krčmář <[email protected]> Tested-by: Longpeng (Mike) <[email protected]> Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions