repository: /home/avi/kvm/linux-2.6 branch: (no branch) commit 7cf1d50b5293d7b505e2c4ecae4c52e42d08383e Author: Jerone Young <[EMAIL PROTECTED]> Date: Mon Nov 19 17:06:35 2007 -0600
KVM: Portability: Move kvm_segment & kvm_dtable structure to <asm/kvm.h> This patch moves structures: kvm_segment kvm_dtable from include/linux/kvm.h to include/asm-x86/kvm.h Signed-off-by: Jerone Young <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h index a2c65b5..644a325 100644 --- a/include/asm-x86/kvm.h +++ b/include/asm-x86/kvm.h @@ -82,4 +82,21 @@ struct kvm_lapic_state { char regs[KVM_APIC_REG_SIZE]; }; +struct kvm_segment { + __u64 base; + __u32 limit; + __u16 selector; + __u8 type; + __u8 present, dpl, db, s, l, g, avl; + __u8 unusable; + __u8 padding; +}; + +struct kvm_dtable { + __u64 base; + __u16 limit; + __u16 padding[3]; +}; + + #endif diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 280ec0d..442cb58 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -151,21 +151,6 @@ struct kvm_fpu { }; -struct kvm_segment { - __u64 base; - __u32 limit; - __u16 selector; - __u8 type; - __u8 present, dpl, db, s, l, g, avl; - __u8 unusable; - __u8 padding; -}; - -struct kvm_dtable { - __u64 base; - __u16 limit; - __u16 padding[3]; -}; /* for KVM_GET_SREGS and KVM_SET_SREGS */ struct kvm_sregs { ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits