From patchwork Fri Jun 4 18:09:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudio Fontana X-Patchwork-Id: 1488032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=reg/vZNY; dkim=fail reason="signature verification failed" header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=EDsAQXOY; dkim=fail reason="signature verification failed" (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=reg/vZNY; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=EDsAQXOY; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FxW6P24cYz9sCD for ; Sat, 5 Jun 2021 04:11:09 +1000 (AEST) Received: from localhost ([::1]:52072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpEHh-0002NY-QH for incoming@patchwork.ozlabs.org; Fri, 04 Jun 2021 14:11:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpEGT-00014W-S3 for qemu-devel@nongnu.org; Fri, 04 Jun 2021 14:09:49 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:55094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpEGS-0000lY-91 for qemu-devel@nongnu.org; Fri, 04 Jun 2021 14:09:49 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id AA09821A33; Fri, 4 Jun 2021 18:09:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1622830186; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UcJ8Ss+di3pg6dYPtTz7J3aIqSaQXYBo+UFgZYb1RHI=; b=reg/vZNYgfuHliLmGgEpvU1IOqrT2sjJl50oi55oLg2yhOCimEf+8KNqh8ru7aeoPBwUKZ lqxOmfGQB8Ww9U2glvcHYGihqrpfvyXz2DhOaFN0TVSmZRr4cD6nChqXk4cbDB2TwQmbc5 z3ILp6u4Bp4TGdVYepDavd6jUGD4UaI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1622830186; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UcJ8Ss+di3pg6dYPtTz7J3aIqSaQXYBo+UFgZYb1RHI=; b=EDsAQXOYVppMwgzNs/APFDdhNmlKQ377NMXKFIR/zLPN7h5wRVwU7izb+8jIdonx4+iCCk s3N9NF6IaRhcXhAw== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 63917118DD; Fri, 4 Jun 2021 18:09:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1622830186; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UcJ8Ss+di3pg6dYPtTz7J3aIqSaQXYBo+UFgZYb1RHI=; b=reg/vZNYgfuHliLmGgEpvU1IOqrT2sjJl50oi55oLg2yhOCimEf+8KNqh8ru7aeoPBwUKZ lqxOmfGQB8Ww9U2glvcHYGihqrpfvyXz2DhOaFN0TVSmZRr4cD6nChqXk4cbDB2TwQmbc5 z3ILp6u4Bp4TGdVYepDavd6jUGD4UaI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1622830186; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UcJ8Ss+di3pg6dYPtTz7J3aIqSaQXYBo+UFgZYb1RHI=; b=EDsAQXOYVppMwgzNs/APFDdhNmlKQ377NMXKFIR/zLPN7h5wRVwU7izb+8jIdonx4+iCCk s3N9NF6IaRhcXhAw== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id RVOZFmpsumC8TwAALh3uQQ (envelope-from ); Fri, 04 Jun 2021 18:09:46 +0000 From: Claudio Fontana To: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Cleber Rosa Junior Subject: [PATCH v1 0/2] add x86 acceptance test for the "host" cpu bug Date: Fri, 4 Jun 2021 20:09:43 +0200 Message-Id: <20210604180945.9330-1-cfontana@suse.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=195.135.220.28; envelope-from=cfontana@suse.de; helo=smtp-out1.suse.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Claudio Fontana , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This is a new acceptance test that verifies the ability to boot the OVMF "sec" binaries, that were previously broken by the i386 refactoring, due to improper ordering of x86_64 cpu initialization and realization. Claudio Fontana (2): tests/acceptance: move pkg extraction to avocado_qemu/ tests/acceptance: add OVMF firmware test to cover x86_64 "host" cpu bug tests/acceptance/avocado_qemu/__init__.py | 38 ++++++++ tests/acceptance/boot_linux_console.py | 104 +++++++--------------- tests/acceptance/boot_ovmf_fc33.py | 75 ++++++++++++++++ tests/acceptance/boot_xen.py | 7 +- tests/acceptance/replay_kernel.py | 23 ++--- tests/acceptance/tcg_plugins.py | 5 +- 6 files changed, 166 insertions(+), 86 deletions(-) create mode 100644 tests/acceptance/boot_ovmf_fc33.py