KVM: MMU: don't drop spte if overwrite it from W to RO
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 19 Nov 2010 09:02:35 +0000 (17:02 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:45 +0000 (11:29 +0200)
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>

No differences found