Skip to content
Snippets Groups Projects
Commit 5f25e71e authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: downgrade two BUG_ONs to WARN_ON_ONCE


This is not an unrecoverable situation.  Users of kvm_read_guest_offset_cached
and kvm_write_guest_offset_cached must expect the read/write to fail, and
therefore it is possible to just return early with an error value.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 8503fea6
No related branches found
No related tags found
No related merge requests found
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