summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorJerone Young <jyoung5@us.ibm.com>2007-11-19 17:06:31 -0600
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:07 +0200
commitf6a40e3bdf5fe0a7d7d7f2dbc5b10158fbdad968 (patch)
tree79dbcdf9cefcfa3757a94bd8f129968e2cc423a0 /include/linux/kvm.h
parent7faa8f6fcc119ce680a90a5f011841b466b1e161 (diff)
downloadop-kernel-dev-f6a40e3bdf5fe0a7d7d7f2dbc5b10158fbdad968.zip
op-kernel-dev-f6a40e3bdf5fe0a7d7d7f2dbc5b10158fbdad968.tar.gz
KVM: Portability: Move kvm_memory_alias to asm/kvm.h
This patch moves sturct kvm_memory_alias from include/linux/kvm.h to include/asm-x86/kvm.h. Also have include/linux/kvm.h include include/asm/kvm.h. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 71d33d6..d09dd5d 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -9,6 +9,7 @@
#include <asm/types.h>
#include <linux/ioctl.h>
+#include <asm/kvm.h>
#define KVM_API_VERSION 12
@@ -35,13 +36,6 @@ struct kvm_userspace_memory_region {
/* for kvm_memory_region::flags */
#define KVM_MEM_LOG_DIRTY_PAGES 1UL
-struct kvm_memory_alias {
- __u32 slot; /* this has a different namespace than memory slots */
- __u32 flags;
- __u64 guest_phys_addr;
- __u64 memory_size;
- __u64 target_phys_addr;
-};
/* for KVM_IRQ_LINE */
struct kvm_irq_level {
OpenPOWER on IntegriCloud