commit | 547ffaed871af7db8713972eaf630802cac47cb1 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | Wed Feb 24 17:51:07 2016 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Mar 03 14:36:19 2016 +0100 |
tree | 1086c772bac3fae58199f4ee2f9148e83ae19224 | |
parent | 92f94f1e9e509caa564353c516c904278999e350 [diff] |
KVM: MMU: introduce kvm_mmu_gfn_{allow,disallow}_lpage Abstract the common operations from account_shadowed() and unaccount_shadowed(), then introduce kvm_mmu_gfn_disallow_lpage() and kvm_mmu_gfn_allow_lpage() These two functions will be used by page tracking 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>