Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nIHO3-0004Ii-FB for mharc-grub-devel@gnu.org; Thu, 10 Feb 2022 16:54:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIHNu-0004Dw-1M for grub-devel@gnu.org; Thu, 10 Feb 2022 16:53:50 -0500 Received: from [2607:f8b0:4864:20::730] (port=35691 helo=mail-qk1-x730.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIHNp-0008LO-O0 for grub-devel@gnu.org; Thu, 10 Feb 2022 16:53:48 -0500 Received: by mail-qk1-x730.google.com with SMTP id 200so6384765qki.2 for ; Thu, 10 Feb 2022 13:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=65tc8FLwbnEXLGCQyvPTREZQEEOhX25xKUeysxXM71s=; b=XCH0fYARdnQFCzcL0Z5V5XnoGg6jUrLuVQs578ghygr2HoCMqlvIjKGZflDbLFQvZY 447E8yLBaZFMiZ+wGbXJgFUgSFTWqjEztEQN6ukWyRV8S+/jnNIKGD8cAfE9Vio4S3bP +oXir/zJzxaPa4dkAtTohuKkSn+oIyppaXoNAIoiA2DtSQWlAzV5DRFQiRRBFBRC79Kw ACb2EgzHzhfky0YyK7xlur9o2mR+NKi9c8yNJx9kOxQAlimZx32SgN/vdpsqPIsOF78D PCJFDYgCW+bjO5UKYj9Ca544VGEJ3O45+ATGnXeTvqOpUA5sfk/rMrpeyti7Me2AMmx+ hamQ== 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=65tc8FLwbnEXLGCQyvPTREZQEEOhX25xKUeysxXM71s=; b=1AFTwbJpK90uDO1llNiXVKfK5Qt+SfLLsTHgqM4exGjSHElG94Ofh5wFIXayP3ptsL G4VrAnkLfkm3D0U2y9e4+0VE2Vi+jfdpRfa3V7lVzm39urE+kj6/4pAKJ3OQwgd59WgM NTXFPnXjFYVO+ZhLxEnSZ93CuZqWBJeSMVPhHeJcsbhMQVuG4kAeb2l9v5tDQBxpnIuP 9wAwj+3iNzsr3yDvpQIVQ0MrSCHfE8dbGEqAJz8+xxIEgq5duo7HN4KH+Ifebm/CfUtL 30AmQdMth5RvQGNezH3LlOmf/XJ4P9D5VG+8BXY0gPhUIuyTQ8/Lr3UwUey5fotK/6Xw GjYA== X-Gm-Message-State: AOAM530y0MPSuTGvZq76cGsA2IV2X4JHooP5yJn+SaldltccRpuCvffz 742BnCJ/usy+mvnwZm/D0IoKrrxlXa4/Mw== X-Google-Smtp-Source: ABdhPJwyHg9xZ/0S0EvhD8UtXu38fhRaBUBUu1Jtg5kL0HevjB8ATJEUu620FMxozZvQTj0Me7nOhw== X-Received: by 2002:a05:620a:849:: with SMTP id u9mr4718501qku.408.1644530019429; Thu, 10 Feb 2022 13:53:39 -0800 (PST) Received: from localhost.localdomain (garza.riseup.net. [198.252.153.109]) by smtp.gmail.com with ESMTPSA id j15sm11740363qta.83.2022.02.10.13.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 13:53:39 -0800 (PST) From: Glenn Washburn To: Daniel Kiper , grub-devel@gnu.org Cc: Glenn Washburn Subject: [PATCH v3 13/15] grub-shell: Only turn on qemu head when large debug value is specified Date: Thu, 10 Feb 2022 15:51:30 -0600 Message-Id: <2d390a7bca9fd900718caa4d75378bcfa4f6989f.1644528774.git.development@efficientek.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::730 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=development@efficientek.com; helo=mail-qk1-x730.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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, 10 Feb 2022 21:53:50 -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 fe1cf768d..3e07b5679 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