aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2020-07-09 12:34:23 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-09 06:53:49 -0400
commitaedbaf4f6afdcf9da0f48f97d7e9d62f4d591e19 (patch)
tree6e1d8ffb0aab2e1ba4ec347a76bc2678dddd990b /tools/perf/scripts/python/export-to-sqlite.py
parentKVM: x86: Introduce kvm_check_cpuid() (diff)
downloadlinux-dev-aedbaf4f6afdcf9da0f48f97d7e9d62f4d591e19.tar.xz
linux-dev-aedbaf4f6afdcf9da0f48f97d7e9d62f4d591e19.zip
KVM: x86: Extract kvm_update_cpuid_runtime() from kvm_update_cpuid()
Beside called in kvm_vcpu_ioctl_set_cpuid*(), kvm_update_cpuid() is also called 5 places else in x86.c and 1 place else in lapic.c. All those 6 places only need the part of updating guest CPUIDs (OSXSAVE, OSPKE, APIC, KVM_FEATURE_PV_UNHALT, ...) based on the runtime vcpu state, so extract them as a separate kvm_update_cpuid_runtime(). Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-Id: <20200709043426.92712-3-xiaoyao.li@intel.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