diff options
author | Sean Christopherson <seanjc@google.com> | 2022-11-30 23:09:02 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 15:41:07 -0500 |
commit | 78b3bf485d5cb5b9a11ff6e1d4b76cbf2f2360ef (patch) | |
tree | 9cbc23d9ca8ad86c6dc7ef3b26e0bbcfb050331a /arch/mips/kvm/callback.c | |
parent | 6baaeda878445dc7b9e86f614ac39bf137c385af (diff) |
KVM: arm64: Unregister perf callbacks if hypervisor finalization fails
Undo everything done by init_subsystems() if a later initialization step
fails, i.e. unregister perf callbacks in addition to unregistering the
power management notifier.
Fixes: bfa79a805454 ("KVM: arm64: Elevate hypervisor mappings creation at EL2")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-19-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