aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/README
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-01-29 10:55:28 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-01-29 10:55:28 +0100
commite2f6e7621988388a5139a0a4e8a3509906be04ba (patch)
tree9dcb16bdeffaa02a78b46bc6dc6e2ad417b32fc6 /tools/xm-test/README
parent99957fb4c400c63513efccd4b0cbab27c1dabd9f (diff)
downloadxen-e2f6e7621988388a5139a0a4e8a3509906be04ba.tar.gz
xen-e2f6e7621988388a5139a0a4e8a3509906be04ba.tar.bz2
xen-e2f6e7621988388a5139a0a4e8a3509906be04ba.zip
Adding network testing support for xm-test with hvm.
1) Added capability for create_disk_image script to copy pcnet32 driver to disk.img. Added new cmdline option so can specify driver directory. 2) Added configuration --with-driver-dir=DVRDIR option so can specify where driver is at configure time. "builtin" keyword lets specify that driver is built into kernel. 3) Updated Makefile.am to build with new options. 4) Updated README to reflect changes. Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
Diffstat (limited to 'tools/xm-test/README')
-rw-r--r--tools/xm-test/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/xm-test/README b/tools/xm-test/README
index 7e8b5bef23..481baca211 100644
--- a/tools/xm-test/README
+++ b/tools/xm-test/README
@@ -55,6 +55,10 @@ you should not attempt to use a ramdisk from a previous minor version
of xm-test (i.e., don't use a ramdisk from 0.4.0 with 0.5.0. 0.5.0
should work for 0.5.3 though)
+
+BUILDING with HVM Support
+=========================
+
If you'd like to build and run this with hardware virtual machine assist
(HVM) support to test fully virtualized disk images on VMX hardware,
please add the --enable-vmx-support option to configure:
@@ -81,6 +85,20 @@ with the "--with-vmx-kernel=KERNEL" option:
Otherwise, you can always rerun the create script using the -k option
to use a specific kernel.
+The disk.img created for HVM testing must contain a pcnet32 driver for
+network tests. The ramdisk/bin/create_disk_image script will, by default,
+look in the /lib/modules directory associated with the kernel being
+used. If you'd like to specify a different location for the driver or
+want to tell the script that the driver is built into the kernel, please
+use the "--with-driver-dir=DRVDIR" configure option. If built into
+the kernel, please use the key word "builtin" with the option:
+
+# ./autogen
+# ./configure --enable-vmx-support --with-driver-dir=builtin
+- or -
+# ./configure --enable-vmx-support --with-driver-dir=/driver/directory
+# make
+
Xm-test will look for disk.img in the ramdisk directory when run by
default.