]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: MMU: introduce kvm_mmu_slot_gfn_write_protect
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 24 Feb 2016 09:51:08 +0000 (17:51 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Mar 2016 13:36:20 +0000 (14:36 +0100)
commitaeecee2ea6e2b020de8bb562f4e79ab34eda3e22
treec2d9500e1a957ca0f28213ab1357af248cd9239b
parent547ffaed871af7db8713972eaf630802cac47cb1
KVM: MMU: introduce kvm_mmu_slot_gfn_write_protect

Split rmap_write_protect() and introduce the function to abstract the write
protection based on the slot

This function will be used in the later patch

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h