From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 435C2C282EC for ; Fri, 14 Mar 2025 15:17:37 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tt6mb-00019h-HZ; Fri, 14 Mar 2025 11:17:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tt6mY-000197-3E for qemu-devel@nongnu.org; Fri, 14 Mar 2025 11:17:06 -0400 Received: from mail.8bytes.org ([2a01:238:42d9:3f00:e505:6202:4f0c:f051]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tt6mU-0005lK-M0 for qemu-devel@nongnu.org; Fri, 14 Mar 2025 11:17:04 -0400 Received: from 8bytes.org (p4ffe03ae.dip0.t-ipconnect.de [79.254.3.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 08DE845A95; Fri, 14 Mar 2025 16:16:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1741965418; bh=HQKruVn47V5uNDlL9v6Wt914wyHNbndoOOHMJ2OioB0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U+XJxiMRdmruHy5qLoSCP/+5MCLCyHcM336QgA1lN3cSU2f2WgeRd/VBAoJJ1JVPU Gii5iLu31LL3IhuyF1PLqoiVLRx6B4p+KYvjeegWDMGeP1zSiwj7MoabHTF6Kr9pPY rO2ayfiEaMXV3+De/Do98z0/1UL+57ovM+6OgsKgM6jchd/0Dr8uq8VpkK20Pbbejq gi4FGmOAGPh2omn7H0n7nMPB+DMWUXnAjV5AjGdy0ukDhFzLu40BW21idzMJCyQyhY TUKF3nhprld8fxK/gMhfQaU4u+z/TDqsCbAXPesnSZAI18nF4Q8/Dz5j7+KQqezFqb coxs1qliGh5RA== Date: Fri, 14 Mar 2025 16:16:56 +0100 From: =?iso-8859-1?Q?J=F6rg_R=F6del?= To: Gerd Hoffman Cc: Alexander Graf , Ani Sinha , Paolo Bonzini , Eduardo Habkost , Marcel Apfelbaum , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Yanan Wang , Zhao Liu , Richard Henderson , "Michael S. Tsirkin" , Fabiano Rosas , Laurent Vivier , Igor Mammedov , Vitaly Kuznetsov , qemu-devel@nongnu.org Subject: Re: [PATCH v6] hw/misc/vmfwupdate: Introduce hypervisor fw-cfg interface support Message-ID: References: <85a9745d-e3b3-4e0e-90ad-066e6dcc25c1@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a01:238:42d9:3f00:e505:6202:4f0c:f051; envelope-from=joro@8bytes.org; helo=mail.8bytes.org 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Fri, Mar 14, 2025 at 03:08:43PM +0100, Gerd Hoffman wrote: > If your input firmware image already is an IGVM (say coconut), what is > supposed to happen? The COCONUT igvmbuilder has the ability to take another IGVM file as input and add its directive and contents to the output file. This is needed for the Hyper-V firmware, which is also provided as an IGVM file. I think it can also make changes when processing an input IGVM, like changing the VMPL of a VMSA. This can be extended to cover more use-cases, e.g. like direct-boot of a linux kernel with initrd and command-line. Regards, Joerg