kvm/mmu: fix MMU_DEBUG compile breakage
PATCH 1/1 kvm/mmu: fix MMU_DEBUG compile breakage
Signed-off-by Joerg Roedel <[email protected]>
--- arch/x86/kvm/mmu.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kvm/mmu.c +2 -2
@@ -1786,8 +1786,8 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep,pgprintk ("%s: setting spte %llx\n" , __func__, *sptep);pgprintk ("instantiating %s PTE (%s) at %ld (%llx) addr %p\n" ,is_large_pte (*sptep)?"2MB" :"4kB" , -is_present_pte (*sptep)?"RW" :"R" , gfn, - *shadow_pte, sptep); + *sptep &PT_PRESENT_MASK ?"RW" :"R" , gfn, + *sptep, sptep);if (!was_rmapped &&is_large_pte (*sptep)) ++vcpu->kvm->stat.lpages;
Signature · 1 line
1.6.3.3
Avi Kivity
AppliedQuoted 2 lines · Joerg Roedel
Signed-off-by Joerg Roedel<[email protected]>
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function