]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: fix rmap_remove on non present sptes
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 25 Oct 2010 13:58:22 +0000 (11:58 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 5 Nov 2010 16:42:26 +0000 (14:42 -0200)
commit487c39247c103b7cb82a3140b2bac9538cdc138b
tree9c10bbdb52a1a1752cac30343a3c6f4d79ef4a88
parent6e93d1511117fd33319464759db51aaf2f947d7c
KVM: MMU: fix rmap_remove on non present sptes

drop_spte should not attempt to rmap_remove a non present shadow pte.

This fixes a BUG_ON seen on kvm-autotest.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reported-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c