commit | b330aa0c7df1ece45f45566c45ea44f01e379ab0 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Fri Nov 19 17:02:35 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:29:45 2011 +0200 |
tree | 898c047105adaf74793e2f9a9293f5082049cc9f | |
parent | 30bfb3c4256422221cc763ff6e749ce8aca8e5c9 [diff] |
KVM: MMU: don't drop spte if overwrite it from W to RO We just need flush tlb if overwrite a writable spte with a read-only one. And we should move this operation to set_spte() for sync_page path Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>