Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nhPJ5-0004fj-1p for mharc-grub-devel@gnu.org; Thu, 21 Apr 2022 01:24:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhPJ3-0004ds-9W for grub-devel@gnu.org; Thu, 21 Apr 2022 01:24:42 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:37807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhPJ1-0005cG-MW for grub-devel@gnu.org; Thu, 21 Apr 2022 01:24:41 -0400 Received: by mail-pj1-x1035.google.com with SMTP id mm4-20020a17090b358400b001cb93d8b137so6794856pjb.2 for ; Wed, 20 Apr 2022 22:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gA8ETEMu9bJihvsxZJeBG2PN+9qxBmgbxX7PSHTXSw0=; b=lLbfoaXUlcnj+W0hYAmpz/6IxXgnTOi+bK4cB0uEeWAH044bGTVt9ey3W9ypiczv2z H4bgFOegZz1K1kR9OrhJuc57OXVyNgpoq22AXxBqhDIiAxLQTDo7ihsrrugEWhr677Rh wgaKAY2fHPBuwPl/uQAQXaxgo0ZeStWAVjGN8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gA8ETEMu9bJihvsxZJeBG2PN+9qxBmgbxX7PSHTXSw0=; b=H60mSibGfl8KNKtQHkDzWGFBV4VRPmP1IfbDhWg7oXcFAd9MHLYSKq1L6GtCwOwkcB Ol94EkDtZ44GtSSm0tgGyDvRyMvWxB/7NHMGoxS+7OKdAb3rCDp3Qe8pK1rh+5E2HWMJ i8sAwVY2OlZNyoCD9/lrwsMHXo1FMugekFWtF2y7Dhzk9IhKbAAam3H4PAuuBwD8uVaz Akz52g9gvddfN3XW2VqtvKnI0jdOuAHClBU8kADtIfVjS+aIKAipq1pAWfRJYefg3QNo EoyIU52oDJHbhwx4xQ/eeZ+CPHyIGug7ajhKoDixJ40HhY5ZvFLKFsI8qVnrhsS7+Shq lNZA== X-Gm-Message-State: AOAM5305SFRlTBK9VXCKyMbMpUHbKup4Focrz+YlMGtjlXt2z9AQ128d ktEI7BHtvupYJI8n0MOn4as3yinLzK74zA== X-Google-Smtp-Source: ABdhPJwAANgnHpfI4C2dYi+HTM0GB6HuGJmSWVPBwXrP47xQjUi5TwJgHfa8WFCU7nP1LD8zqd54bQ== X-Received: by 2002:a17:90b:4a49:b0:1d2:adce:8a89 with SMTP id lb9-20020a17090b4a4900b001d2adce8a89mr8448425pjb.43.1650518677388; Wed, 20 Apr 2022 22:24:37 -0700 (PDT) Received: from localhost ([2001:4479:e000:e400:4260:be14:52a8:8c94]) by smtp.gmail.com with ESMTPSA id f17-20020a17090a4a9100b001cd4989fed3sm1026608pjh.31.2022.04.20.22.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 22:24:37 -0700 (PDT) From: Daniel Axtens To: grub-devel@gnu.org Cc: leif@nuviainc.com, stefanb@linux.ibm.com, ps@pks.im, dkiper@net-space.pl, Daniel Axtens , Daniel Kiper Subject: [PATCH v3 01/15] grub-shell: only pass SeaBIOS fw_opt in for x86 BIOS platforms Date: Thu, 21 Apr 2022 15:24:13 +1000 Message-Id: <20220421052427.1389987-2-dja@axtens.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220421052427.1389987-1-dja@axtens.net> References: <20220421052427.1389987-1-dja@axtens.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=dja@axtens.net; helo=mail-pj1-x1035.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2022 05:24:42 -0000 This breaks the tests on pseries - just restrict it to x86 platforms that don't specify a BIOS. Signed-off-by: Daniel Axtens Reviewed-by: Daniel Kiper --- v2: Thanks Daniel K and Glenn for feedback. --- tests/util/grub-shell.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 33590baeb13c..4828afb7cc5a 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -376,7 +376,11 @@ if test -z "$debug"; then # workaround unfortunately causes qemu to issue a warning 'externally # provided fw_cfg item names should be prefixed with "opt/"', but there # doesn't seem to be a better option. - qemuopts="${qemuopts} -fw_cfg name=etc/sercon-port,string=0" + # + # SeaBIOS is used for i386, except on EFI. + if [ ${grub_modinfo_target_cpu} == 'i386' ] && [ ${grub_modinfo_platform} != 'efi' ]; then + qemuopts="${qemuopts} -fw_cfg name=etc/sercon-port,string=0" + fi fi if [ x$boot != xnet ] && [ x$boot != xemu ]; then -- 2.32.0