[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.