Commit d9ecf928 authored by Jerone Young's avatar Jerone Young Committed by Avi Kivity

KVM: Portability: Move structure lapic_state to <asm/kvm.h>

This patch moves structure lapic_state from include/linux/kvm.h
to include/asm-x86/kvm.h
Signed-off-by: default avatarJerone Young <jyoung5@us.ibm.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 19d30b16
...@@ -76,4 +76,10 @@ struct kvm_regs { ...@@ -76,4 +76,10 @@ struct kvm_regs {
__u64 rip, rflags; __u64 rip, rflags;
}; };
/* for KVM_GET_LAPIC and KVM_SET_LAPIC */
#define KVM_APIC_REG_SIZE 0x400
struct kvm_lapic_state {
char regs[KVM_APIC_REG_SIZE];
};
#endif #endif
...@@ -150,11 +150,6 @@ struct kvm_fpu { ...@@ -150,11 +150,6 @@ struct kvm_fpu {
__u32 pad2; __u32 pad2;
}; };
/* for KVM_GET_LAPIC and KVM_SET_LAPIC */
#define KVM_APIC_REG_SIZE 0x400
struct kvm_lapic_state {
char regs[KVM_APIC_REG_SIZE];
};
struct kvm_segment { struct kvm_segment {
__u64 base; __u64 base;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment