summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-09-24 17:30:11 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-28 07:57:31 -0400
commit8b50b92f9f1a819cba290e24064337004c00ee36 (patch)
tree287f6ba31c79e4cd7760a43fc38c6e9d316b8cde /tools/perf/scripts/python
parent7f3603b631362340774291a961712ec07bbf8122 (diff)
downloadcachepc-linux-8b50b92f9f1a819cba290e24064337004c00ee36.tar.gz
cachepc-linux-8b50b92f9f1a819cba290e24064337004c00ee36.zip
KVM: VMX: Add a helper and macros to reduce boilerplate for sec exec ctls
Add a helper function and several wrapping macros to consolidate the copy-paste code in vmx_compute_secondary_exec_control() for adjusting controls that are dependent on guest CPUID bits. No functional change intended. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200925003011.21016-1-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions