diff options
author | Jerone Young <jyoung5@us.ibm.com> | 2007-11-19 18:06:31 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:07 -0500 |
commit | f6a40e3bdf5fe0a7d7d7f2dbc5b10158fbdad968 (patch) | |
tree | 79dbcdf9cefcfa3757a94bd8f129968e2cc423a0 /include/asm-x86/kvm.h | |
parent | 7faa8f6fcc119ce680a90a5f011841b466b1e161 (diff) |
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/asm-x86/kvm.h')
-rw-r--r-- | include/asm-x86/kvm.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h new file mode 100644 index 000000000000..37cf8e995c83 --- /dev/null +++ b/include/asm-x86/kvm.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef __LINUX_KVM_X86_H | ||
2 | #define __LINUX_KVM_X86_H | ||
3 | |||
4 | /* | ||
5 | * KVM x86 specific structures and definitions | ||
6 | * | ||
7 | */ | ||
8 | |||
9 | #include <asm/types.h> | ||
10 | #include <linux/ioctl.h> | ||
11 | |||
12 | struct kvm_memory_alias { | ||
13 | __u32 slot; /* this has a different namespace than memory slots */ | ||
14 | __u32 flags; | ||
15 | __u64 guest_phys_addr; | ||
16 | __u64 memory_size; | ||
17 | __u64 target_phys_addr; | ||
18 | }; | ||
19 | |||
20 | #endif | ||