diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-11-19 17:02:35 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 11:29:45 +0200 |
commit | b330aa0c7df1ece45f45566c45ea44f01e379ab0 (patch) | |
tree | 898c047105adaf74793e2f9a9293f5082049cc9f /arch/x86/kvm/paging_tmpl.h | |
parent | 30bfb3c4256422221cc763ff6e749ce8aca8e5c9 (diff) | |
download | kernel_samsung_smdk4412-b330aa0c7df1ece45f45566c45ea44f01e379ab0.zip kernel_samsung_smdk4412-b330aa0c7df1ece45f45566c45ea44f01e379ab0.tar.gz kernel_samsung_smdk4412-b330aa0c7df1ece45f45566c45ea44f01e379ab0.tar.bz2 |
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>
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions