[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxc x86-64 domU support
Another (last one) small change that is needed also. Signed-off-by: Jerone Young --- tools/libxc/xc_linux_build.c.orig 2005-06-02 15:08:54.000000000 -0500 +++ tools/libxc/xc_linux_build.c 2005-06-02 18:00:26.000000000 -0500 @@ -432,9 +432,16 @@ int xc_linux_build(int xc_handle, /* Use the default Xen-provided GDT. */ ctxt->gdt_ents = 0; +#if defined(__i386__) /* Ring 1 stack is the initial stack. */ ctxt->kernel_ss = FLAT_KERNEL_DS; ctxt->kernel_sp = vstartinfo_start + 2*PAGE_SIZE; +#endif + +#if defined(__x86_64__) + ctxt->kernel_ss = FLAT_KERNEL_SS; + ctxt->kernel_sp = vstartinfo_start + 2*PAGE_SIZE; +#endif /* No debugging. */ memset(ctxt->debugreg, 0, sizeof(ctxt->debugreg)); On Thu, 2005-06-02 at 20:10 -0500, Jerone Young wrote: > This patch is missing a small change that is needed. > Signed-off-by: Jerone Young > > --- tools/libxc/xc_linux_build.c.orig 2005-06-02 15:08:54.000000000 > -0500 > +++ tools/libxc/xc_linux_build.c 2005-06-02 15:09:44.000000000 > -0500 > @@ -409,7 +409,11 @@ int xc_linux_build(int xc_handle, > ctxt->user_regs.es = FLAT_KERNEL_DS; > ctxt->user_regs.fs = FLAT_KERNEL_DS; > ctxt->user_regs.gs = FLAT_KERNEL_DS; > +#if defined(__x86_64__) > ctxt->user_regs.ss = FLAT_KERNEL_SS; > +#else > + ctxt->user_regs.ss = FLAT_KERNEL_DS; > +#endif > ctxt->user_regs.cs = FLAT_KERNEL_CS; > ctxt->user_regs.eip = vkern_entry; > ctxt->user_regs.esp = vstartinfo_start + 2*PAGE_SIZE; > > > On Thu, 2005-06-02 at 14:54 -0500, Jerone Young wrote: > > Here are patches need for domU startup for x86-64. While the code seems to > > work. > > There are problems within Xen that are preventing a full domain launch at > > this moment. > > > > Signed-off-by: Jerone Young <jyoung5@xxxxxxxxxx> > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@xxxxxxxxxxxxxxxxxxx > > http://lists.xensource.com/xen-devel > -- Jerone Young IBM Linux Technology Center jyoung5@xxxxxxxxxx 512-838-1157 (T/L: 678-1157) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |