summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorIzik Eidus <ieidus@redhat.com>2008-12-29 01:42:20 +0200
committerAvi Kivity <avi@redhat.com>2009-03-24 11:02:54 +0200
commit0f346074403bc109f9569f14b45cb09e83729032 (patch)
tree484cfe57495d1a0e45452b8041dc41c4de044d3e /include/linux
parent77c2002e7c6f019f59a6f3cc5f8b16b41748dbe1 (diff)
downloadop-kernel-dev-0f346074403bc109f9569f14b45cb09e83729032.zip
op-kernel-dev-0f346074403bc109f9569f14b45cb09e83729032.tar.gz
KVM: remove the vmap usage
vmap() on guest pages hides those pages from the Linux mm for an extended (userspace determined) amount of time. Get rid of it. Signed-off-by: Izik Eidus <ieidus@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kvm_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/kvm_types.h b/include/linux/kvm_types.h
index 9b6f395..5f4a18c 100644
--- a/include/linux/kvm_types.h
+++ b/include/linux/kvm_types.h
@@ -43,8 +43,7 @@ typedef hfn_t pfn_t;
struct kvm_pio_request {
unsigned long count;
int cur_count;
- struct page *guest_pages[2];
- unsigned guest_page_offset;
+ gva_t guest_gva;
int in;
int port;
int size;
OpenPOWER on IntegriCloud