Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133743
b: refs/heads/master
c: fc5659c
h: refs/heads/master
i:
  133741: 4eec122
  133739: f5c2927
  133735: fc3ffd5
  133727: 445de99
v: v3
  • Loading branch information
Joerg Roedel authored and Avi Kivity committed Mar 24, 2009
1 parent 20261e7 commit dd77427
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: c807660407a695f390034e402edfe544a1d2e40c
refs/heads/master: fc5659c8c6b6c4e02ac354b369017c1bf231f347
6 changes: 4 additions & 2 deletions trunk/virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,10 @@ static inline int valid_vcpu(int n)

inline int kvm_is_mmio_pfn(pfn_t pfn)
{
if (pfn_valid(pfn))
return PageReserved(pfn_to_page(pfn));
if (pfn_valid(pfn)) {
struct page *page = compound_head(pfn_to_page(pfn));
return PageReserved(page);
}

return true;
}
Expand Down

0 comments on commit dd77427

Please sign in to comment.