aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-18 13:54:46 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 09:18:51 +0100
commit1a978d9d3e72ddfa40ac60d26301b154247ee0bc (patch)
tree2b528d9e3332ec9b576ad3a83938b2ded679db0c /tools/perf/scripts/python/export-to-sqlite.py
parentKVM: x86: avoid incorrect writes to host MSR_IA32_SPEC_CTRL (diff)
downloadlinux-dev-1a978d9d3e72ddfa40ac60d26301b154247ee0bc.tar.xz
linux-dev-1a978d9d3e72ddfa40ac60d26301b154247ee0bc.zip
KVM: PPC: Book3S HV: Uninit vCPU if vcore creation fails
Call kvm_vcpu_uninit() if vcore creation fails to avoid leaking any resources allocated by kvm_vcpu_init(), i.e. the vcpu->run page. Fixes: 371fefd6f2dc4 ("KVM: PPC: Allow book3s_hv guests to use SMT processor modes") Cc: stable@vger.kernel.org Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Acked-by: Paul Mackerras <paulus@ozlabs.org> 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