WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Arch dependent tools/libxc?

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Arch dependent tools/libxc?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 18 May 2005 08:08:27 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 May 2005 07:08:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVbW2ukBKdAR9XHQya5T9SsCMzvQQAHN71A
Thread-topic: [Xen-devel] Arch dependent tools/libxc?
> Hi, list,
>       When trying to add support for multiple domains on 
> IPF/VTI, immediately we realized current tools/libxc too x86 
> specific, like xc_linux_build.c, xc_linux_save.c, etc. which 
> are always compiled assumed upon x86 vcpu_guest_context_t. 
> Ideally they should only be compiled upon specific platform.
> 
>       One solution is to add bunch of boring "ifdef 
> __x86_32... ifdef __ia64__" in Makefile, which however gonna 
> pollute many places. Since tools/libxc is the place coupled 
> with arch context most tightly, a better option may be to 
> move those files into arch dependent directory like 
> tools/libxc/{x86, ia64, etc}:
> Xc_linux_build.c
> Xc_plan9_build.c
> Xc_vmx_build.c
> Xc_linux_save.c
> Xc_linux_restore.c
> Xc_ptrace.c
> Xc_ptrace_core.c
> And some header files like linux_boot_params.h

Yep, this needs to happen.

Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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