aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-x86/kvm.h17
-rw-r--r--include/linux/kvm.h16
2 files changed, 17 insertions, 16 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
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index e6867aa6daf6..fd4f900fcce3 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -192,22 +192,6 @@ struct kvm_dirty_log {
192 }; 192 };
193}; 193};
194 194
195struct kvm_cpuid_entry {
196 __u32 function;
197 __u32 eax;
198 __u32 ebx;
199 __u32 ecx;
200 __u32 edx;
201 __u32 padding;
202};
203
204/* for KVM_SET_CPUID */
205struct kvm_cpuid {
206 __u32 nent;
207 __u32 padding;
208 struct kvm_cpuid_entry entries[0];
209};
210
211/* for KVM_SET_SIGNAL_MASK */ 195/* for KVM_SET_SIGNAL_MASK */
212struct kvm_signal_mask { 196struct kvm_signal_mask {
213 __u32 len; 197 __u32 len;