summaryrefslogtreecommitdiff
path: root/libkvm/kvm-x86.h
diff options
context:
space:
mode:
authorJerone Young <jyoung5@us.ibm.com>2007-11-06 10:48:45 -0600
committerAvi Kivity <avi@qumranet.com>2007-11-07 15:44:52 +0200
commit04f5671186224ec083a04a9bef9f2c8267009546 (patch)
tree2845c7deb86da9ddd912986cefdb36fa6e37322b /libkvm/kvm-x86.h
parent51e99ede9460b5fa0b04cba77eacaf374f32e0a2 (diff)
kvm: libkvm: move kvm_alloc_userspace_memory to libkvm-x86.c
This moves x86 specific function kvm_alloc_userspace_memory() out of libkvm.c into libkvm-x86.c. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'libkvm/kvm-x86.h')
-rw-r--r--libkvm/kvm-x86.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libkvm/kvm-x86.h b/libkvm/kvm-x86.h
index 3eaf3007..f0afbf89 100644
--- a/libkvm/kvm-x86.h
+++ b/libkvm/kvm-x86.h
@@ -27,4 +27,7 @@
int kvm_alloc_kernel_memory(kvm_context_t kvm, unsigned long memory,
void **vm_mem);
+int kvm_alloc_userspace_memory(kvm_context_t kvm, unsigned long memory,
+ void **vm_mem);
+
#endif