diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-02 15:56:12 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:58:00 +0100 |
| commit | 8b2fc445a7619fec55740d0a5785aae4bd1058f3 (patch) | |
| tree | 71f120538f6901ee759364ab5ee05506e34503cd /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | KVM: x86: Warn on zero-size save state for valid CPUID 0xD.N sub-leaf (diff) | |
| download | linux-8b2fc445a7619fec55740d0a5785aae4bd1058f3.tar.gz linux-8b2fc445a7619fec55740d0a5785aae4bd1058f3.zip | |
KVM: x86: Refactor CPUID 0xD.N sub-leaf entry creation
Increment the number of CPUID entries immediately after do_host_cpuid()
in preparation for moving the logic into do_host_cpuid(). Handle the
rare/impossible case of encountering a bogus sub-leaf by decrementing
the number entries on failure.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
