summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2020-01-09 17:57:11 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-27 21:59:51 +0300
commitef82eddc0e3179b4529a67ed102fe4f7efba2e65 (patch)
treea10edcdbfd14ad98f51a2192dfe710bdea79379a /include/linux/kvm_host.h
parentde9bf4d4cea369355440c5afbbbc7e62302de8fd (diff)
downloadlinux-ef82eddc0e3179b4529a67ed102fe4f7efba2e65.tar.xz
KVM: Remove kvm_read_guest_atomic()
Remove kvm_read_guest_atomic() because it's not used anywhere. Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index a654cf6df078..83bd60f0af01 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -722,8 +722,6 @@ void kvm_get_pfn(kvm_pfn_t pfn);
int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset,
int len);
-int kvm_read_guest_atomic(struct kvm *kvm, gpa_t gpa, void *data,
- unsigned long len);
int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len);
int kvm_read_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc,
void *data, unsigned long len);