mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
244d57ece9
commit
a162dd5873
2 changed files with 17 additions and 16 deletions
|
@ -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
|
#endif
|
||||||
|
|
|
@ -192,22 +192,6 @@ struct kvm_dirty_log {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
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];
|
|
||||||
};
|
|
||||||
|
|
||||||
/* for KVM_SET_SIGNAL_MASK */
|
/* for KVM_SET_SIGNAL_MASK */
|
||||||
struct kvm_signal_mask {
|
struct kvm_signal_mask {
|
||||||
__u32 len;
|
__u32 len;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue