aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2020-07-08 14:50:47 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-08 16:22:00 -0400
commit18964092825aef6faaadf51fbc5fd166168ddf61 (patch)
tree8b0118b1786e00c40ce05a0cb3a48e11d2a984c9 /tools/perf/scripts/python/stackcollapse.py
parentkvm: x86: limit the maximum number of vPMU fixed counters to 3 (diff)
downloadlinux-dev-18964092825aef6faaadf51fbc5fd166168ddf61.tar.xz
linux-dev-18964092825aef6faaadf51fbc5fd166168ddf61.zip
KVM: X86: Reset vcpu->arch.cpuid_nent to 0 if SET_CPUID* fails
Current implementation keeps userspace input of CPUID configuration and cpuid->nent even if kvm_update_cpuid() fails. Reset vcpu->arch.cpuid_nent to 0 for the case of failure as a simple fix. Besides, update the doc to explicitly state that if IOCTL SET_CPUID* fail KVM gives no gurantee that previous valid CPUID configuration is kept. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-Id: <20200708065054.19713-2-xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions