aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/mmu.c')
-rw-r--r--drivers/kvm/mmu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c
index ceae25bfd4b5..bce7eb21f739 100644
--- a/drivers/kvm/mmu.c
+++ b/drivers/kvm/mmu.c
@@ -956,6 +956,15 @@ int kvm_mmu_reset_context(struct kvm_vcpu *vcpu)
956 return init_kvm_mmu(vcpu); 956 return init_kvm_mmu(vcpu);
957} 957}
958 958
959void kvm_mmu_pre_write(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes)
960{
961 pgprintk("%s: gpa %llx bytes %d\n", __FUNCTION__, gpa, bytes);
962}
963
964void kvm_mmu_post_write(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes)
965{
966}
967
959static void free_mmu_pages(struct kvm_vcpu *vcpu) 968static void free_mmu_pages(struct kvm_vcpu *vcpu)
960{ 969{
961 while (!list_empty(&vcpu->free_pages)) { 970 while (!list_empty(&vcpu->free_pages)) {