aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/configure.ac
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-07-14 11:54:10 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-07-14 11:54:10 +0100
commit8c5ea9ceb8f7f43646015846102a0d0915d39bd1 (patch)
treef73e8e55583a93b9499674148cba8c9c93f4f68f /tools/xm-test/configure.ac
parent815077ee40b2190def5ecef3df015c01e5207b34 (diff)
downloadxen-8c5ea9ceb8f7f43646015846102a0d0915d39bd1.tar.gz
xen-8c5ea9ceb8f7f43646015846102a0d0915d39bd1.tar.bz2
xen-8c5ea9ceb8f7f43646015846102a0d0915d39bd1.zip
Xm-test HVM network testing is broken. The new qemu code doesn't support
pcnet32, which is the current default driver loaded onto the disk.img. This patch changes teh default to the rtl8139, which is xend's default. This patch also adds a new "--with-network-drv" configuration option so people can configure different drivers than the default. Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
Diffstat (limited to 'tools/xm-test/configure.ac')
-rw-r--r--tools/xm-test/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/xm-test/configure.ac b/tools/xm-test/configure.ac
index 291ed1e86e..5183162f82 100644
--- a/tools/xm-test/configure.ac
+++ b/tools/xm-test/configure.ac
@@ -84,6 +84,14 @@ AC_ARG_WITH(driver-dir,
dnl substitute @DRVDIR@ in all Makefiles
AC_SUBST(DRVDIR)
+NETDRV="8139too.ko"
+AC_ARG_WITH(network-drv,
+ [ --with-network-drv=driver Set network driver to use [[default="8139too.ko"]]],
+ [ NETDRV="$withval" ])
+
+dnl substitute @DRVDIR@ in all Makefiles
+AC_SUBST(NETDRV)
+
AC_SUBST(TENV)
AC_SUBST(PACKAGE_VERSION)