From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 08A9A1DED64; Mon, 2 Jun 2025 14:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748873731; cv=none; b=PHF6dOCf9gl8iDph8WSzWHrDSwOgb2KAA3JQfGp8lmSl19OzpTLxaC5F14ZtYAjpnZyPVGEm6KBBVkzq6WxiLVFsw9/3IqA0gDBsnXM+e8bv3divXhj0DeHwjXxvsosTlJVIJcELRKulZa3/RUzwItCvzgHpI422yUWXobmL2a0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748873731; c=relaxed/simple; bh=kcUO2ek+BpJwqB/8K1BYNIFfXvZCVxDdLJ3dIFNReGg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sVU0+Vc+yvPa/ywkeFzoA53PsG7FstCWlxoLCgOD3xdFLCGNgq2W0+h/5vyun2KzVp//59gnOZiMVTzmHoVbMMOjDs1aJ5iaVqjSrHMqiYprO4IeUBPcGoeWA8Ln/l/JqpYEXnbvwpgi0yyhXI77zYvV/hg7d4z+oT/XlZyUyxE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RjAFXTYF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RjAFXTYF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E47EC4CEEB; Mon, 2 Jun 2025 14:15:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1748873730; bh=kcUO2ek+BpJwqB/8K1BYNIFfXvZCVxDdLJ3dIFNReGg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RjAFXTYFrc/sF02cTTDq7jPflCcDXb/E1vnym1NqnZmWvWce0h7LaWepH+W2IjiTY N0nOlEZwrFuoN/XKBs6n0sh3qyDG2VI11wdVexLjCYnp1OMBKTCPKGqmsMR45Vb+l0 3NNpxYFxumoAue4SszUmklG0+mmGxbJEU0yYGcMY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Brendan Jackman , David Gow , Shuah Khan , Sasha Levin Subject: [PATCH 6.6 232/444] kunit: tool: Use qboot on QEMU x86_64 Date: Mon, 2 Jun 2025 15:44:56 +0200 Message-ID: <20250602134350.328056498@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250602134340.906731340@linuxfoundation.org> References: <20250602134340.906731340@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Brendan Jackman [ Upstream commit 08fafac4c9f289a9d9a22d838921e4b3eb22c664 ] As noted in [0], SeaBIOS (QEMU default) makes a mess of the terminal, qboot does not. It turns out this is actually useful with kunit.py, since the user is exposed to this issue if they set --raw_output=all. qboot is also faster than SeaBIOS, but it's is marginal for this usecase. [0] https://lore.kernel.org/all/CA+i-1C0wYb-gZ8Mwh3WSVpbk-LF-Uo+njVbASJPe1WXDURoV7A@mail.gmail.com/ Both SeaBIOS and qboot are x86-specific. Link: https://lore.kernel.org/r/20250124-kunit-qboot-v1-1-815e4d4c6f7c@google.com Signed-off-by: Brendan Jackman Reviewed-by: David Gow Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/kunit/qemu_configs/x86_64.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/testing/kunit/qemu_configs/x86_64.py b/tools/testing/kunit/qemu_configs/x86_64.py index dc79490768630..4a6bf4e048f5b 100644 --- a/tools/testing/kunit/qemu_configs/x86_64.py +++ b/tools/testing/kunit/qemu_configs/x86_64.py @@ -7,4 +7,6 @@ CONFIG_SERIAL_8250_CONSOLE=y''', qemu_arch='x86_64', kernel_path='arch/x86/boot/bzImage', kernel_command_line='console=ttyS0', - extra_qemu_params=[]) + # qboot is faster than SeaBIOS and doesn't mess up + # the terminal. + extra_qemu_params=['-bios', 'qboot.rom']) -- 2.39.5