diff options
| author | Sean Christopherson <[email protected]> | 2019-12-18 13:54:47 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-01-24 09:18:52 +0100 |
| commit | cb10bf9194f4d2c5d830eddca861f7ca0fecdbb4 (patch) | |
| tree | c3c37fa99333e66e6298ee65ffae72dee48af592 /scripts/gdb/linux/modules.py | |
| parent | 1a978d9d3e72ddfa40ac60d26301b154247ee0bc (diff) | |
KVM: PPC: Book3S PR: Free shared page if mmu initialization fails
Explicitly free the shared page if kvmppc_mmu_init() fails during
kvmppc_core_vcpu_create(), as the page is freed only in
kvmppc_core_vcpu_free(), which is not reached via kvm_vcpu_uninit().
Fixes: 96bc451a15329 ("KVM: PPC: Introduce shared page")
Cc: [email protected]
Reviewed-by: Greg Kurz <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Acked-by: Paul Mackerras <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions