commit | 186a3e526ac1b4063a723f90ae4893beedb24fc6 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Dec 02 15:17:00 2009 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:39 2010 -0300 |
tree | 3c82f8c60afca12987165c5749b6940c008a7fb7 | |
parent | cb84b55f6cde26c7c17beaf87da08645ae6ccbf9 [diff] [blame] |
KVM: MMU: Report spte not found in rmap before BUG() In the past we've had errors of single-bit in the other two cases; the printk() may confirm it for the third case (many->many). Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 89a49fb..4f499d7 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c
@@ -662,6 +662,7 @@ prev_desc = desc; desc = desc->more; } + pr_err("rmap_remove: %p %llx many->many\n", spte, *spte); BUG(); } }