Add Network Testing Support for Xm-test with VMX Enabled
PATCH 1/2 Add Network Testing Support for Xm-test with VMX Enabled
Hi,
Here are two patches that add networking capability for testing with vmx enabled in xm-test. Currently, the create_disk_image script copies a kernel over to the disk.img but doesn't copy the pcnet32 driver, so no network testing is possible.
Patch 1 (included in this email) - Changes busybox config for the initrd so it can load 2.6 modules, necessary for loading the pcnet32 driver. I had to bump xm-test's version because the initrd changes.
Patch 2 (following 2/2 email) - Changes create_disk_image to copy pcnet32 driver to disk.img, includes options to override default. Patch adds a configuration time option for specifying the driver's directory. And, patch updates README.
Thanks,
Dan
# HG changeset patch
# User [email protected] # Node ID dea266bcf1a4e404824fb0b8bc8debaae2aafc57 # Parent 1f87f39aa0e19527976780a9aab473d9fe191b8a
VMX support for xm-test currently doesn't support network tests for eth0 because the create script doesn't load the pcnet32 driver to the disk.img when it copies the kernel there. This is the first step to make network support possible for VMX guest testing.
This patch adds busybox support for loading 2.6 kernel modules. Since the image changes, I have adjusted the xm-test version too.
tools/xm-test/configure.ac +1 -1
@@ -1,7 +1,7 @@ # xm-test configure.ac input script # Basic header information -AC_INIT([xm-test], [0.6.0]) +AC_INIT([xm-test], [0.7.0]) AM_INIT_AUTOMAKE([1.7 foreign]) # Check for dependencies
tools/xm-test/ramdisk/configs/busybox +1 -1
@@ -290,7 +290,7 @@ # CONFIG_INSMOD=y CONFIG_FEATURE_2_4_MODULES=y -# CONFIG_FEATURE_2_6_MODULES is not set +CONFIG_FEATURE_2_6_MODULES=y # CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set # CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set # CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel