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

[XenPPC] [PATCH 0/10][TOOLS][XM-TEST] [v3] Update xm-test to support new

To: Xen-Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [XenPPC] [PATCH 0/10][TOOLS][XM-TEST] [v3] Update xm-test to support new architectures
From: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Oct 2006 13:19:55 +1000
Cc: XenPPC-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 20 Oct 2006 12:20:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Xen-Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, XenPPC-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Hi All,
        These patches update the xm-test code to be more easily portable
to new architecture. This focus of this endeavor is PPC but I believe
that IA64 also benefits.

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.
  4: 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: Add powerpc definitions.
  7: Allow inspection of boot buffers.
     Check for BUG()s and the like if wanted.
  8: Update .hgignore
  9: Treat the "extra" config item as special and always append to it.
     Needed for PPC, as the console is passed via the kernel command line.
 10: Fix memory assumptions.
     Several of the create tests have ideas about minimal memory footprints,
     correct these assumptions.

I've tested these patches on PPC and x86_32 with no regressions.
With patches 1-6 applied it's simple enough to build a initrd for powerpc on
and i386 machine:
-=-=-
cd .../tools/xm-test
./autogen
./configure
cd ramdisk
make BR_ARCH=powerpc
-=-=-

As discussed previously it'd be great if an initrd and buildroot tarball
could be hosted on xensource.

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

.hgignore                                                     |   10 
tools/xm-test/lib/XmTestLib/Console.py                        |    5 
tools/xm-test/lib/XmTestLib/XenDomain.py                      |   76 --
tools/xm-test/lib/XmTestLib/arch.py                           |  148 ++++
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 ++++++++++
tools/xm-test/tests/create/11_create_concurrent_pos.py        |    2 
tools/xm-test/tests/create/12_create_concurrent_stress_pos.py |   11 
tools/xm-test/tests/create/14_create_blockroot_pos.py         |   11 
tools/xm-test/tests/create/15_create_smallmem_pos.py          |    4 
tools/xm-test/tests/create/16_create_smallmem_neg.py          |   12 
15 files changed, 923 insertions(+), 421 deletions(-)




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