diff options
Diffstat (limited to 'include/asm-x86')
-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 { | |||
135 | }; | 135 | }; |
136 | 136 | ||
137 | 137 | ||
138 | struct 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 */ | ||
148 | struct kvm_cpuid { | ||
149 | __u32 nent; | ||
150 | __u32 padding; | ||
151 | struct kvm_cpuid_entry entries[0]; | ||
152 | }; | ||
153 | |||
154 | |||
138 | #endif | 155 | #endif |