aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_types.h
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/kvm_types.h
parentKVM: introduce kvm_read_guest_virt, kvm_write_guest_virt (diff)
downloadlinux-dev-0f346074403bc109f9569f14b45cb09e83729032.tar.xz
linux-dev-0f346074403bc109f9569f14b45cb09e83729032.zip
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/kvm_types.h')
-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 9b6f395c9625..5f4a18cae26b 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;