KVM: MMU: Fix MMU_DEBUG compile breakage
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
Родитель
d34e6b175e
Коммит
a205bc19f0
|
@ -1808,8 +1808,8 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep,
|
||||||
pgprintk("%s: setting spte %llx\n", __func__, *sptep);
|
pgprintk("%s: setting spte %llx\n", __func__, *sptep);
|
||||||
pgprintk("instantiating %s PTE (%s) at %ld (%llx) addr %p\n",
|
pgprintk("instantiating %s PTE (%s) at %ld (%llx) addr %p\n",
|
||||||
is_large_pte(*sptep)? "2MB" : "4kB",
|
is_large_pte(*sptep)? "2MB" : "4kB",
|
||||||
is_present_pte(*sptep)?"RW":"R", gfn,
|
*sptep & PT_PRESENT_MASK ?"RW":"R", gfn,
|
||||||
*shadow_pte, sptep);
|
*sptep, sptep);
|
||||||
if (!was_rmapped && is_large_pte(*sptep))
|
if (!was_rmapped && is_large_pte(*sptep))
|
||||||
++vcpu->kvm->stat.lpages;
|
++vcpu->kvm->stat.lpages;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче