This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH] libxc x86-64 domU support

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] libxc x86-64 domU support
From: Jerone Young <jyoung5@xxxxxxxxxx>
Date: Thu, 02 Jun 2005 20:10:01 -0500
Delivery-date: Fri, 03 Jun 2005 01:10:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1117742050.10811.27.camel@thinkpad>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1117742050.10811.27.camel@thinkpad>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
+++ tools/libxc/xc_linux_build.c        2005-06-02 15:09:44.000000000
@@ -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;
+    ctxt->user_regs.ss = FLAT_KERNEL_DS;
     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
512-838-1157 (T/L: 678-1157)

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>