summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-06-22 15:46:22 +0200
committerAvi Kivity <avi@qumranet.com>2008-07-20 11:42:35 +0200
commitdb475c39eca0f2e44953d96e768d7ce808ab85bd (patch)
treed471be650198869cdfbe99dd0b571e5b3b6f29ed /arch
parentKVM: MMU: When debug is enabled, make it a run-time parameter (diff)
downloadlinux-db475c39eca0f2e44953d96e768d7ce808ab85bd.tar.xz
linux-db475c39eca0f2e44953d96e768d7ce808ab85bd.zip
KVM: MMU: Fix printk format
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 5994645dcee0..1fd8e3b58cc0 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -1116,7 +1116,7 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *shadow_pte,
mark_page_dirty(vcpu->kvm, gfn);
pgprintk("%s: setting spte %llx\n", __func__, spte);
- pgprintk("instantiating %s PTE (%s) at %d (%llx) addr %llx\n",
+ pgprintk("instantiating %s PTE (%s) at %ld (%llx) addr %p\n",
(spte&PT_PAGE_SIZE_MASK)? "2MB" : "4kB",
(spte&PT_WRITABLE_MASK)?"RW":"R", gfn, spte, shadow_pte);
set_shadow_pte(shadow_pte, spte);