commit | 5f25e71e311478f9bb0a8ef49e7d8b95316491d7 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Nov 22 18:24:01 2021 -0500 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 26 06:43:28 2021 -0500 |
tree | c811a827d59320bb082121ee453c640e48d13aa3 | |
parent | 8503fea6761de32b72585001ac94e5f81ce8ca44 [diff] |
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: Paolo Bonzini <pbonzini@redhat.com>