summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2021-05-21 11:51:37 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-17 13:09:38 -0400
commit10d7bf1e46dc19d964f0f67d2a6d20df907742d1 (patch)
tree206e1f232352ee6aff49bdb5e72c4a4e52342cb5 /tools/perf/scripts/python
parent644f706719f0297bc5f65c8891de1c32f042eae5 (diff)
downloadlinux-10d7bf1e46dc19d964f0f67d2a6d20df907742d1.tar.gz
linux-10d7bf1e46dc19d964f0f67d2a6d20df907742d1.zip
KVM: x86: hyper-v: Cache guest CPUID leaves determining features availability
Limiting exposed Hyper-V features requires a fast way to check if the particular feature is exposed in guest visible CPUIDs or not. To aboid looping through all CPUID entries on every hypercall/MSR access cache the required leaves on CPUID update. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210521095204.2161214-4-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions