KVM: MMU: split kvm_sync_page() function
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Sat, 15 May 2010 10:51:24 +0000 (18:51 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:49 +0000 (10:35 +0300)
commit1d9dc7e000915b9607b480e34fcb4238b789fbb1
treebb90f755e648b97a69b10348e5ed2c65822d9c59
parent98918833a3e21ffc5619535955e7a003cb788163
KVM: MMU: split kvm_sync_page() function

Split kvm_sync_page() into kvm_sync_page() and kvm_sync_page_transient()
to clarify the code address Avi's suggestion

kvm_sync_page_transient() function only update shadow page but not mark
it sync and not write protect sp->gfn. it will be used by later patch

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c