KVM: MMU: Fix spte leak when freeing an invalid page

An invalid page may still contain sptes, as the current vcpu may not have
had the chance to unload its root after the page was marked invalid.

Signed-off-by: Avi Kivity <avi@qumranet.com>
1 file changed