KVM: MMU: Flush tlbs after clearing write permission when accessing dirty log
authorAvi Kivity <avi@qumranet.com>
Thu, 6 Aug 2009 17:39:47 +0000 (14:39 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:06 +0000 (20:17 -0700)
commit5bd5d8e64fbb187d1ed4b320715a4580bd878997
treee30269c89cece4cd8e26dff2ed3b8b4500f60dd4
parentc832f513b1ebe93e0a2c71a98f319da4ce560f7f
KVM: MMU: Flush tlbs after clearing write permission when accessing dirty log

(cherry picked from commit 171d595d3b3254b9a952af8d1f6965d2e85dcbaa)

Otherwise, the cpu may allow writes to the tracked pages, and we lose
some display bits or fail to migrate correctly.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/mmu.c