Skip to content
Commit e53dc37f authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: Don't BUG() the kernel if xa_insert() fails with -EBUSY



WARN once instead of triggering a BUG if xa_insert() fails because it
encountered an existing entry.  While KVM guarantees there should be no
existing entry, there's no reason to BUG the kernel, as KVM needs to
gracefully handle failure anyways.

Reviewed-by: default avatarPankaj Gupta <pankaj.gupta@amd.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241009150455.1057573-6-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent d0831edc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment