From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lRmbM-0006xw-JJ for mharc-grub-devel@gnu.org; Wed, 31 Mar 2021 21:58:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRmbF-0006j2-EE for grub-devel@gnu.org; Wed, 31 Mar 2021 21:58:21 -0400 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:39743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRmb7-0007Ki-2h for grub-devel@gnu.org; Wed, 31 Mar 2021 21:58:19 -0400 Received: by mail-ot1-x332.google.com with SMTP id h6-20020a0568300346b02901b71a850ab4so749864ote.6 for ; Wed, 31 Mar 2021 18:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UUJ8oRcBEXwd6xRMtBeglJkdOTZXPnzCEylb3he97HE=; b=jxb/uSK30n3i8/KT/r5c7gz3v7YdR2kkqOvCelk1Ki/tTmO6J8QBH0+d/3N1wKYXKC S1X2cVunp0XxfOQzUWNMlKU2w7WceOlPVjjiYTI2mOW+gL4KikxPY9XJQ5iFTuitopqP qnrOCDIsVjl7sBU0U66Xnz/pzqoA7Y5rKvve40Baki5BfKUdNzmxSZTD6xSPL+9awQj6 g4/6vzoVHarKU3CWyT1AWC76ypQo+V/6Pd4g6LeyLeDQxzOUfhJC74Gkj1aNutovngyW l8DgPeFIDLt84J+f0v+/YqZrgYKMS1mUKqWGy4u4wNe+mE5koX9tpxgUQR02DcDX2vYI 7XxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UUJ8oRcBEXwd6xRMtBeglJkdOTZXPnzCEylb3he97HE=; b=ja0JOY4BJ18POPYG5Wpwa6y1Yd7JKzw1H+gcHUe0uWk/FIrhgPAk0qDewhO4xL8+7+ 49IymGS5WUNuqCIusB2TPzLd1qbVx6Vv4xxvq2Sefvkel8NXO4tWhekKns0qjLxlzamm J+Pc2Fo1iJMveU19Wl8Fu2WLBMwMbFDVf+FaCcINHu8it/ks2KistQZsq/zYbIaLDmIH YMgJZxcsgJNrehKok/2TWlyn+IXIOTsq7Sk6qRQHmIA+chCe0ESFadgax+dLetHmlSHj SE3DS6V3o4szXYbSrNnDqy2Ruge1tqfrhdErJQ+OtwJ6pZgkmkM+/0LKWhe5QKStrKp+ 0N8Q== X-Gm-Message-State: AOAM530nZgaamaciUUO4pRZOk639WVYr5ND9Il/OdMZg8xcZDSRXYOow ZApQoEVEuPpz5BvG1gWt/wKMb3A+vJM26A== X-Google-Smtp-Source: ABdhPJxrRgx1sNIf7+e9gVXoqw5/Foy3zZfKkmC6xY+Y5X9mfKb3zMtE8prb7IFeZOT6FlmbscFCZA== X-Received: by 2002:a9d:67d2:: with SMTP id c18mr4928666otn.105.1617242290591; Wed, 31 Mar 2021 18:58:10 -0700 (PDT) Received: from localhost.localdomain ([2605:a601:ab16:db00:1cb0:2038:b70a:65b5]) by smtp.gmail.com with ESMTPSA id z25sm902960otj.68.2021.03.31.18.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 18:58:10 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Glenn Washburn Subject: [PATCH 10/12] grub-shell: Only turn on qemu head when large debug value is specified Date: Wed, 31 Mar 2021 20:57:49 -0500 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=development@efficientek.com; helo=mail-ot1-x332.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 01:58:22 -0000 There are several levels of debug and more may be added. But the qemu head should be one of the highest debug levels. Set debug to a high value of 10 to turn on the head. We do not want to accidentally turn it on when adding a new debug level to the testing system. Signed-off-by: Glenn Washburn --- tests/util/grub-shell.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 854508750..fbc809a8c 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -391,7 +391,7 @@ isofile="$work_directory/grub.iso" test -z "$debug" || echo "GRUB ISO file: ${isofile}" >&2 test -z "$debug" || echo "GRUB ROM directory: ${rom_directory}" >&2 -if test -z "$debug"; then +if test "${debug:-0}" -lt 10; then qemuopts="${qemuopts} -nographic -monitor file:/dev/null" # SeaBIOS 1.11.0 added support for VGA emulation over a serial port. If # this is configured in SeaBIOS, then -nographic causes some extra junk to -- 2.27.0