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


[Xen-devel] [PATCH 0/6][TOOLS][XM-TEST] Update xm-test to support new ar

To: Xen-Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0/6][TOOLS][XM-TEST] Update xm-test to support new architectures
From: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Sep 2006 20:56:54 +1100
Cc: Dan Smith <danms@xxxxxxxxxx>, XenPPC-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 30 Sep 2006 21:34:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Hi All,
        These patches update the xm-test code to be more easily portable
to new architecture. This focus od this endevour is PPC but I believe
that IA64 also benifits.

Patch summary:

 1: Instead of using a dated snapshot (which no longer exists)
    use buildroot-snapshot.
 2: Remove hardcoded references to i386.
 3: Rename configs/buildroot -> configs/buildroot-i386
    and update Makefiles.
 5: Update .hgignore to remove noise from the initrd building process
 5: Refactor the XmTestLib and XmTestReport code to encapsulate all
    platform variations in one place.
 6: FYI: Add powerpc definiations.
    This patch is for the xenppc tree but included here for comments and

With these patches applied I'm still able to build an initrd and run the
xm-test on x86 with no regressions.

Feedback appreciated.

Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>

.hgignore                                       |    9 
tools/xm-test/lib/XmTestLib/XenDomain.py        |   72 ---
tools/xm-test/lib/XmTestLib/arch.py             |  133 ++++++
tools/xm-test/lib/XmTestReport/OSReport.py      |   10 
tools/xm-test/lib/XmTestReport/arch.py          |   48 ++
tools/xm-test/ramdisk/Makefile.am               |   13 
tools/xm-test/ramdisk/configs/buildroot         |  330 ---------------
tools/xm-test/ramdisk/configs/buildroot-i386    |  330 +++++++++++++++
tools/xm-test/ramdisk/configs/buildroot-powerpc |  334 ++++++++++++++++
9 files changed, 879 insertions(+), 400 deletions(-)

Xen-devel mailing list