summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-07-13 19:32:56 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-02 18:01:52 +0300
commit4547700a4d190ac419abffa317069aaccf1ac118 (patch)
tree44b63c2c4535ed78980876f3bf70c2fa96462f86 /tools/perf/scripts/python/export-to-sqlite.py
parent421221234ada41b4a9f0beeb08e30b07388bd4bd (diff)
downloadlinux-4547700a4d190ac419abffa317069aaccf1ac118.tar.xz
KVM: x86: Consolidate APIC base RESET initialization code
Consolidate the APIC base RESET logic, which is currently spread out across both x86 and vendor code. For an in-kernel APIC, the vendor code is redundant. But for a userspace APIC, KVM relies on the vendor code to initialize vcpu->arch.apic_base. Hoist the vcpu->arch.apic_base initialization above the !apic check so that it applies to both flavors of APIC emulation, and delete the vendor code. Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210713163324.627647-19-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions