KVM: x86/mmu: Delete pgprintk() and all its usage
[linux-2.6-microblaze.git] / arch / x86 / kvm / mmu / paging_tmpl.h
index 0662e02..7a97f76 100644 (file)
@@ -456,9 +456,6 @@ retry_walk:
                        goto retry_walk;
        }
 
-       pgprintk("%s: pte %llx pte_access %x pt_access %x\n",
-                __func__, (u64)pte, walker->pte_access,
-                walker->pt_access[walker->level - 1]);
        return 1;
 
 error:
@@ -529,8 +526,6 @@ FNAME(prefetch_gpte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp,
        if (FNAME(prefetch_invalid_gpte)(vcpu, sp, spte, gpte))
                return false;
 
-       pgprintk("%s: gpte %llx spte %p\n", __func__, (u64)gpte, spte);
-
        gfn = gpte_to_gfn(gpte);
        pte_access = sp->role.access & FNAME(gpte_access)(gpte);
        FNAME(protect_clean_gpte)(vcpu->arch.mmu, &pte_access, gpte);
@@ -758,7 +753,6 @@ static int FNAME(page_fault)(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault
        struct guest_walker walker;
        int r;
 
-       pgprintk("%s: addr %lx err %x\n", __func__, fault->addr, fault->error_code);
        WARN_ON_ONCE(fault->is_tdp);
 
        /*
@@ -773,7 +767,6 @@ static int FNAME(page_fault)(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault
         * The page is not mapped by the guest.  Let the guest handle it.
         */
        if (!r) {
-               pgprintk("%s: guest page fault\n", __func__);
                if (!fault->prefetch)
                        kvm_inject_emulated_page_fault(vcpu, &walker.fault);