aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-12-23 11:35:19 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 10:35:44 -0500
commit506f0d6f9c40ae7d9634acf3c26358810f42c24a (patch)
tree676e17c01feb6dde1aaacc1f527377b54de67e58 /include/linux
parentf7784b8ec9b6a041fa828cfbe9012fe51933f5ac (diff)
KVM: introduce gfn_to_pfn_memslot
Which takes a memslot pointer instead of using kvm->memslots. To be used by SRCU convertion later. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 3c44687b342..f1f78deece1 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -273,6 +273,8 @@ void kvm_set_page_dirty(struct page *page);
273void kvm_set_page_accessed(struct page *page); 273void kvm_set_page_accessed(struct page *page);
274 274
275pfn_t gfn_to_pfn(struct kvm *kvm, gfn_t gfn); 275pfn_t gfn_to_pfn(struct kvm *kvm, gfn_t gfn);
276pfn_t gfn_to_pfn_memslot(struct kvm *kvm,
277 struct kvm_memory_slot *slot, gfn_t gfn);
276void kvm_release_pfn_dirty(pfn_t); 278void kvm_release_pfn_dirty(pfn_t);
277void kvm_release_pfn_clean(pfn_t pfn); 279void kvm_release_pfn_clean(pfn_t pfn);
278void kvm_set_pfn_dirty(pfn_t pfn); 280void kvm_set_pfn_dirty(pfn_t pfn);