Avi Kivity wrote: > repository: /home/avi/kvm/linux-2.6 > branch: master > commit 51727a110220681f6f43b005d069e28c58f5d151 > Author: Avi Kivity <[EMAIL PROTECTED]> > Date: Wed Nov 21 19:17:33 2007 +0200 > > KVM: Fix compile error on i386 > > Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> > > diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c > index 71d8f76..1e58a65 100644 > --- a/drivers/kvm/vmx.c > +++ b/drivers/kvm/vmx.c > @@ -357,7 +357,7 @@ static void reload_tss(void) > struct desc_struct *descs; > > get_gdt(&gdt); > - descs = (void *)gdt.base; > + descs = (void *)gdt.address; > descs[GDT_ENTRY_TSS].type = 9; /* available TSS */ > load_TR_desc(); > #endif
Hi, Avi i386 kernel still can't compile with this fix, dueto redifinition of struct desc_defs in desc_defs.h and processor_32.h. Maybe should use n_desc_struct to replace desc_struct in processor_32.h. But it may modify many common code. In addtion, empty_zero_page fix is not included in latest commits, and it also break the build. Xiantao > ------------------------------------------------------------------------ - > 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 ------------------------------------------------------------------------- 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