From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: [kvm-unit-tests PATCH 4/6] arm/run: allow tests to run in AArch32 mode Date: Fri, 22 Jan 2016 15:58:27 +0100 Message-ID: <1453474709-10679-5-git-send-email-drjones@redhat.com> References: <1453474709-10679-1-git-send-email-drjones@redhat.com> Cc: pbonzini@redhat.com, rkrcmar@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55215 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753704AbcAVO6m (ORCPT ); Fri, 22 Jan 2016 09:58:42 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 051094C672 for ; Fri, 22 Jan 2016 14:58:42 +0000 (UTC) In-Reply-To: <1453474709-10679-1-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 --- 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