Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202385
b: refs/heads/master
c: 5689cc5
h: refs/heads/master
i:
  202383: 6100da8
v: v3
  • Loading branch information
Joerg Roedel authored and Avi Kivity committed Aug 2, 2010
1 parent 897ab1a commit 38097ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 828554136bbacae6e39fc31b9cd7e7c660ad7530
refs/heads/master: 5689cc53fa9d09b5bf41b1b1a7c90bd6c112ab40
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/kvm/44x_tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 gvaddr, gpa_t gpaddr,
gfn = gpaddr >> PAGE_SHIFT;
new_page = gfn_to_page(vcpu->kvm, gfn);
if (is_error_page(new_page)) {
printk(KERN_ERR "Couldn't get guest page for gfn %lx!\n", gfn);
printk(KERN_ERR "Couldn't get guest page for gfn %llx!\n",
(unsigned long long)gfn);
kvm_release_page_clean(new_page);
return;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/kvm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@

typedef unsigned long gva_t;
typedef u64 gpa_t;
typedef unsigned long gfn_t;
typedef u64 gfn_t;

typedef unsigned long hva_t;
typedef u64 hpa_t;
typedef unsigned long hfn_t;
typedef u64 hfn_t;

typedef hfn_t pfn_t;

Expand Down
2 changes: 1 addition & 1 deletion trunk/virt/kvm/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ int kvm_iommu_map_pages(struct kvm *kvm, struct kvm_memory_slot *slot)
get_order(page_size), flags);
if (r) {
printk(KERN_ERR "kvm_iommu_map_address:"
"iommu failed to map pfn=%lx\n", pfn);
"iommu failed to map pfn=%llx\n", pfn);
goto unmap_pages;
}

Expand Down

0 comments on commit 38097ec

Please sign in to comment.