aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJerone Young <jyoung5@us.ibm.com>2007-11-19 18:06:37 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:08 -0500
commita162dd58736d446f52ca45b170508c3a5868807b (patch)
treedce2f29ccde737dba386d14986bfd77a9ec42456 /include/asm-x86
parent244d57ece94b56692c61f2d507d1251b5844c550 (diff)
KVM: Portability: Move cpuid structures to <asm/kvm.h>
This patch moves structures: kvm_cpuid_entry kvm_cpuid from include/linux/kvm.h to include/asm-x86/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')
-rw-r--r--include/asm-x86/kvm.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h
index 32c7dda61474..4837d759bec0 100644
--- a/include/asm-x86/kvm.h
+++ b/include/asm-x86/kvm.h
@@ -135,4 +135,21 @@ struct kvm_msr_list {
135}; 135};
136 136
137 137
138struct kvm_cpuid_entry {
139 __u32 function;
140 __u32 eax;
141 __u32 ebx;
142 __u32 ecx;
143 __u32 edx;
144 __u32 padding;
145};
146
147/* for KVM_SET_CPUID */
148struct kvm_cpuid {
149 __u32 nent;
150 __u32 padding;
151 struct kvm_cpuid_entry entries[0];
152};
153
154
138#endif 155#endif