diff options
author | stekloff@elm3b216.beaverton.ibm.com <stekloff@elm3b216.beaverton.ibm.com> | 2006-01-26 00:06:39 +0100 |
---|---|---|
committer | stekloff@elm3b216.beaverton.ibm.com <stekloff@elm3b216.beaverton.ibm.com> | 2006-01-26 00:06:39 +0100 |
commit | 0c3ce14ba123e8c3c97e8583f74d78a690212ddf (patch) | |
tree | 31646fc78ced3c6b63adff6b456b830227fe175e /tools/xm-test/ramdisk | |
parent | 606c67c6c9e132811d9613769dc35548c8b75cd3 (diff) | |
download | xen-0c3ce14ba123e8c3c97e8583f74d78a690212ddf.tar.gz xen-0c3ce14ba123e8c3c97e8583f74d78a690212ddf.tar.bz2 xen-0c3ce14ba123e8c3c97e8583f74d78a690212ddf.zip |
Add configuration option for specifying kernel to use for hvm/vmx testing
in xm-test. Added --with-vmx-kernel=KERNEL.
Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
Diffstat (limited to 'tools/xm-test/ramdisk')
-rw-r--r-- | tools/xm-test/ramdisk/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/xm-test/ramdisk/Makefile.am b/tools/xm-test/ramdisk/Makefile.am index 7efeee2aed..216928bd42 100644 --- a/tools/xm-test/ramdisk/Makefile.am +++ b/tools/xm-test/ramdisk/Makefile.am @@ -45,7 +45,11 @@ initrd.img: $(XMTEST_VER_IMG) disk.img: $(XMTEST_VER_IMG) chmod a+x $(VMX_SCRIPT) - $(VMX_SCRIPT) -r $(XMTEST_VER_IMG) + @if test "$(VMXKERNEL)" = "no" ; then \ + $(VMX_SCRIPT) -r $(XMTEST_VER_IMG); \ + else \ + $(VMX_SCRIPT) -r $(XMTEST_VER_IMG) -k $(VMXKERNEL); \ + fi existing: @[ -f $(XMTEST_VER_IMG) ] && ln -sf $(XMTEST_VER_IMG) initrd.img || \ |