From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7955A125A1 for ; Thu, 30 Nov 2023 03:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YyqnfsIe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701315011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NxZFFMDpBFfPPZndp5yBJyp7e8IUPc9SqT8KXrNXg6o=; b=YyqnfsIeOc8xuoulE+COttmjBoFgoKRNEPcdvGXrqX0wAjybrJ3iqh962aDoTMGznIE0zi cy4TyB1YKwgOwFwVHVJCrXuhLlKlU1VRdLTSuXoWEcWkk32qDLk0CbyTRcEm05JMxeQJ54 hL/PxMC0bhez1gNZnJtPFsV/TNngQYs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-261-O6XhYT-OPTO9OThdqPmiXw-1; Wed, 29 Nov 2023 22:30:06 -0500 X-MC-Unique: O6XhYT-OPTO9OThdqPmiXw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AE750811E7B; Thu, 30 Nov 2023 03:30:05 +0000 (UTC) Received: from virt-mtcollins-01.lab.eng.rdu2.redhat.com (virt-mtcollins-01.lab.eng.rdu2.redhat.com [10.8.1.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id A66AF112130C; Thu, 30 Nov 2023 03:30:05 +0000 (UTC) From: Shaoqin Huang To: Andrew Jones , kvmarm@lists.linux.dev Cc: Shaoqin Huang , Thomas Huth , Nico Boehr , Colton Lewis , Nina Schoetterl-Glausch , Nikos Nikoleris , kvm@vger.kernel.org Subject: [kvm-unit-tests PATCH v2 2/3] runtime: arm64: Skip the migration tests when run on EFI Date: Wed, 29 Nov 2023 22:29:39 -0500 Message-Id: <20231130032940.2729006-3-shahuang@redhat.com> In-Reply-To: <20231130032940.2729006-1-shahuang@redhat.com> References: <20231130032940.2729006-1-shahuang@redhat.com> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 When running the migration tests on EFI, the migration will always fail since the efi/run use the vvfat format to run test, but the vvfat format does not support live migration. So those migration tests will always fail. Instead of waiting for fail everytime when run migration tests on EFI, skip those tests if running on EFI. Signed-off-by: Shaoqin Huang --- scripts/runtime.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/runtime.bash b/scripts/runtime.bash index c73fb024..64d223e8 100644 --- a/scripts/runtime.bash +++ b/scripts/runtime.bash @@ -156,6 +156,10 @@ function run() cmdline=$(get_cmdline $kernel) if find_word "migration" "$groups"; then + if [ "{CONFIG_EFI}" == "y" ]; then + print_result "SKIP" $testname "" "migration tests are not supported with efi" + return 2 + fi cmdline="MIGRATION=yes $cmdline" fi if find_word "panic" "$groups"; then -- 2.40.1