diff options
author | Jerone Young <jyoung5@us.ibm.com> | 2007-11-20 00:06:37 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 16:53:08 +0100 |
commit | a162dd58736d446f52ca45b170508c3a5868807b (patch) | |
tree | dce2f29ccde737dba386d14986bfd77a9ec42456 /include/asm-x86/kvm.h | |
parent | KVM: Portability: Move kvm_sregs and msr structures to <asm/kvm.h> (diff) | |
download | linux-a162dd58736d446f52ca45b170508c3a5868807b.tar.xz linux-a162dd58736d446f52ca45b170508c3a5868807b.zip |
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/kvm.h')
-rw-r--r-- | include/asm-x86/kvm.h | 17 |
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 { }; +struct kvm_cpuid_entry { + __u32 function; + __u32 eax; + __u32 ebx; + __u32 ecx; + __u32 edx; + __u32 padding; +}; + +/* for KVM_SET_CPUID */ +struct kvm_cpuid { + __u32 nent; + __u32 padding; + struct kvm_cpuid_entry entries[0]; +}; + + #endif |