Paolo Bonzini 515fa37a3e KVM: x86: change kvm_mmu_page_get_gfn BUG_ON to WARN_ON
commit e9f2a760b158551bfbef6db31d2cae45ab8072e5 upstream.

Note that in such a case it is quite likely that KVM will BUG_ON
in __pte_list_remove when the VM is closed.  However, there is no
immediate risk of memory corruption in the host so a WARN_ON is
enough and it lets you gather traces for debugging.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-16 10:29:51 +01:00
..
2016-09-20 09:26:20 +02:00
2016-09-20 09:26:20 +02:00
2016-10-11 15:06:33 -07:00
2018-02-25 11:05:54 +01:00
2016-01-15 17:56:32 -08:00
2019-11-16 10:29:48 +01:00
2019-11-16 10:29:48 +01:00
2019-11-16 10:29:49 +01:00