summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/callback.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-11-30 23:09:01 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-12-29 15:41:06 -0500
commit6baaeda878445dc7b9e86f614ac39bf137c385af (patch)
treeb7cd99db427a554582c603e98487b3df643dc84c /arch/mips/kvm/callback.c
parent466d27e48d7cd2542710309817cff1e91cd2e10a (diff)
KVM: arm64: Free hypervisor allocations if vector slot init fails
Teardown hypervisor mode if vector slot setup fails in order to avoid leaking any allocations done by init_hyp_mode(). Fixes: b881cdce77b4 ("KVM: arm64: Allocate hyp vectors statically") Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20221130230934.1014142-18-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm/callback.c')
0 files changed, 0 insertions, 0 deletions