diff options
| author | Xiaoyao Li <[email protected]> | 2020-07-09 12:34:23 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-07-09 06:53:49 -0400 |
| commit | aedbaf4f6afdcf9da0f48f97d7e9d62f4d591e19 (patch) | |
| tree | 6e1d8ffb0aab2e1ba4ec347a76bc2678dddd990b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a76733a9875238e271a3fd5778d5596248904f07 (diff) | |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions