diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-02 15:56:05 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:55 +0100 |
| commit | 619a17f11069ce3d338e00a621f57dd8dec164c2 (patch) | |
| tree | a9be970c3a556c00466e7af7e5d83192bc98ddb9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | KVM: x86: Return -E2BIG when KVM_GET_SUPPORTED_CPUID hits max entries (diff) | |
| download | linux-619a17f11069ce3d338e00a621f57dd8dec164c2.tar.gz linux-619a17f11069ce3d338e00a621f57dd8dec164c2.zip | |
KVM: x86: Refactor loop around do_cpuid_func() to separate helper
Move the guts of kvm_dev_ioctl_get_cpuid()'s CPUID func loop to a
separate helper to improve code readability and pave the way for future
cleanup.
No functional change intended.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
