Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp970494iob; Fri, 13 May 2022 18:06:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy81BpgB81GZUCNQeUjwD5yjYUnNu7FVS+WK9gPbUi7Mu3yCHcXIfodHvsbgR6C/UnPsacC X-Received: by 2002:a5d:6c65:0:b0:20c:5230:f145 with SMTP id r5-20020a5d6c65000000b0020c5230f145mr5709829wrz.337.1652490399210; Fri, 13 May 2022 18:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652490399; cv=none; d=google.com; s=arc-20160816; b=kpEOiEJwhIydId8qMVRBJTIerM9Ra/t19sf7KPwSGJbMwr1yKaFeAVrtJsHYdrGr9J hPHJwLh91lEL3T8wLeyFGa4h0eTP4ULA1G0bd5sX7YPM+J/7VT3be/uyRpxXwxPmQRku OJ6Tym3g3bGuuaapNx3xe52qCz7EIPQzXt9idSHic2lcAiqZF6uNjgUlljj7YZssGy6N wvdzUqzGt9krm9grjn84ANaRoDeKcOGj0T6SykhVOiJ2gCEfWX/iAFdvUebytXRlZFHE tGHmBu99Mx+/ytaVcq1DN0fgObUl1huYjiHjxpKv8R/zxxHYa9/JKvhnCrr5duc0edx8 5m0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=Ogkiciib/RsRhAqfGoo2vDrriNiFsttxrZQ5YNjWEI0=; b=Knudji9ZvArt88VVog5CTLRezMTBCMyTKTolK2rfI9QRvdZY6AIETXo9NkkzQfsHee 5ReZtZX5SWD3uKoys3LDNp2ndzbqWWk9GKNR69aaxa99Fnx2gdEDuKnI5r/Gf+/fyejV xtq7Tco1MOxTthsoPo81cc7YK5OTrvMNKVUVSVLN7t9nSBMqjwW6UswkHoIkfJ4t3GSI k2CXHKvLe5vPwiRsFklUWWJUhlY+hmdd9pooWLfuz2jLyHb+94hR2oT4CCrKjhx9tPT/ 5B19ffdTLdV4Q1mkyVfJKKWNPIcAQiox88XFfTKTtpk1ZUrN6ajvGMb73/N74mSnrnpt KHzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=bS7n+Auk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o9-20020adfca09000000b00203e9019661si3341363wrh.997.2022.05.13.18.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:06:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=bS7n+Auk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A0727381307; Fri, 13 May 2022 16:39:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378610AbiEMIvZ (ORCPT + 99 others); Fri, 13 May 2022 04:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378638AbiEMIvQ (ORCPT ); Fri, 13 May 2022 04:51:16 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7405B54684 for ; Fri, 13 May 2022 01:51:15 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-2eb7d137101so67053217b3.12 for ; Fri, 13 May 2022 01:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=Ogkiciib/RsRhAqfGoo2vDrriNiFsttxrZQ5YNjWEI0=; b=bS7n+AukRnAUU513mYC294Cf8qvSX1SGa68AIFAl5nnKbMaGMrmcUWkFzGuq6QJeFk YXDecED/n95KUg1dN68x1KMI1x53SW/LH/ZgWDeajbJritTOGvlNUzurd3lRPsyajMY9 exDSZW3rBh1iyWpuh2HR7GNmoWXUqhP4Z2PpxuhD/oQPGG9WOX3pXoUBjgMo6UUz/KmE CWEnsqnrskHLoY2Pg5xdCVgF/xeDms6Vo18FGIKzqK0wDGxB5fTeQDRR2gs3FliVvP6R bNjdnXN8+7yn6gywt/PlIVqlH35RTwcqAs2A2QVEg27yfTabnZ9JOc7fOmyoAdFWaViA myqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=Ogkiciib/RsRhAqfGoo2vDrriNiFsttxrZQ5YNjWEI0=; b=lCWAyK4YSv1WSLShBvlym1UdTNCwQdSec+UyJbc02eJ3AQV629NS19Rzb3CVPEZfS8 gPAgbY2OPPtO0UO/53IW99/+Jr4sh1Jkoe73dx6q7gOZGR1flsuSVl3po3ZJG+v6nei6 yiPWbrq/bjBvFAFJYRzuWMJMXuN+otb3aoaIgT+DKj7KIs9VRo4vsYZ1SBXAsa1mfcAz 9T0Zt+vtmUUnedLBXBDDkYznGnFOOL4nzvLdH752kEHD26IpKc2UmCKx5i6XUSwSo3xd urCkPIwgFZJlyQ2ZjupB9JD4U11qfRzWnZ8MW+UhNXUc9suS+AaT58/n/b2BsoMNhzgX F/CQ== X-Gm-Message-State: AOAM532u+14vV7PI10PHvTBD3PikL13fGtaT+88OvsP7Mau8moIlSEqZ em8j+b7sfDuHBYvyXneSH9vqLW+xyz2XmQ== X-Received: from slicestar.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:20a1]) (user=davidgow job=sendgmr) by 2002:a81:4bd5:0:b0:2fb:8277:98d8 with SMTP id y204-20020a814bd5000000b002fb827798d8mr4518250ywa.376.1652431874729; Fri, 13 May 2022 01:51:14 -0700 (PDT) Date: Fri, 13 May 2022 16:51:08 +0800 Message-Id: <20220513085108.3567310-1-davidgow@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.36.0.550.gb090851708-goog Subject: [PATCH] kunit: tool: Use qemu-system-i386 for i386 runs From: David Gow To: Daniel Latypov , Brendan Higgins , Shuah Khan Cc: David Gow , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We're currently using the x86_64 qemu for i386 builds. While this is not incorrect, it's probably more sensible to use the i386 one, which will at least fail properly if we accidentally were to build a 64-bit kernel. Signed-off-by: David Gow --- tools/testing/kunit/qemu_configs/i386.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/kunit/qemu_configs/i386.py b/tools/testing/kunit/qemu_configs/i386.py index 52b80be40e4b..4463ebefd567 100644 --- a/tools/testing/kunit/qemu_configs/i386.py +++ b/tools/testing/kunit/qemu_configs/i386.py @@ -4,7 +4,7 @@ QEMU_ARCH = QemuArchParams(linux_arch='i386', kconfig=''' CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y''', - qemu_arch='x86_64', + qemu_arch='i386', kernel_path='arch/x86/boot/bzImage', kernel_command_line='console=ttyS0', extra_qemu_params=[]) -- 2.36.0.550.gb090851708-goog