[kvm-unit-tests PATCH 4/6] arm/run: allow tests to run in AArch32 mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With this and the "mkstandalone: fix generation for arm" patch, we
can now send an arm standalone test to an aarch64 host and run it.

Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx>
---
 arm/run | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arm/run b/arm/run
index 654a17c8f69c2..dc0a33204c20b 100755
--- a/arm/run
+++ b/arm/run
@@ -30,8 +30,11 @@ if [ -z "$ACCEL" ]; then
 	fi
 fi
 
-if [ "$ARCH" = "arm64" ] && [ "$ACCEL" = "kvm" ]; then
+if [ "$HOST" = "aarch64" ] && [ "$ACCEL" = "kvm" ]; then
 	processor="host"
+	if [ "$ARCH" = "arm" ]; then
+		processor+=",aarch64=off"
+	fi
 fi
 
 qemu="${QEMU:-qemu-system-$ARCH_NAME}"
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux