aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/README
diff options
context:
space:
mode:
authorpl@us.ibm.com <pl@us.ibm.com>2006-02-22 16:02:54 +0100
committerpl@us.ibm.com <pl@us.ibm.com>2006-02-22 16:02:54 +0100
commitc9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b (patch)
treec201da6f2a0c78d0612fc1c2a59d5bee55fa3e60 /tools/xm-test/README
parentacd1abe9f93c8148f6c53a9e6a0a939843a1dbd3 (diff)
downloadxen-c9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b.tar.gz
xen-c9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b.tar.bz2
xen-c9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b.zip
XM-Test takes a really long time to build the initrd it uses for testing. This patch to the Makefile allows you to specify INITRD="url" when running make existing to make it download a prebuilt copy of the initrd from a repository.
Signed-off-by: Paul Larson <pl@us.ibm.com>
Diffstat (limited to 'tools/xm-test/README')
-rw-r--r--tools/xm-test/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/xm-test/README b/tools/xm-test/README
index f65e9a26b5..ca5b70e81a 100644
--- a/tools/xm-test/README
+++ b/tools/xm-test/README
@@ -49,6 +49,15 @@ Simply copy the initrd-X.Y.img file into ramdisk/ and then run:
# make existing
+Or, you can run:
+ # INITRD="http://url.of.initrd.repo/" make existing
+
+You do not need to include the name of the image itself in the url,
+however, an initrd with the right name (initrd.X.Y.img) and version
+number must exist at that location. The script will determine which
+version of the initrd it needs and try to download the right file from
+that location.
+
This will set up the link so that xm-test will use the existing
ramdisk. Next, just run "runtest.sh" normally. Note that in general,
you should not attempt to use a ramdisk from a previous minor version