From nobody Mon Feb 9 17:06:51 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646977275301439.7578419126372; Thu, 10 Mar 2022 21:41:15 -0800 (PST) Received: from localhost ([::1]:49834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSY1a-00067s-44 for importer@patchew.org; Fri, 11 Mar 2022 00:41:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSXzQ-0003Q1-C3 for qemu-devel@nongnu.org; Fri, 11 Mar 2022 00:39:00 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:52461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSXzO-0003E8-V4 for qemu-devel@nongnu.org; Fri, 11 Mar 2022 00:39:00 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-524-uLabrWARPZyh6XSKqWbuug-1; Fri, 11 Mar 2022 00:38:51 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1AC6A1091DA0; Fri, 11 Mar 2022 05:38:50 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.196.67]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C507E54555; Fri, 11 Mar 2022 05:38:49 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 8CFFC180063C; Fri, 11 Mar 2022 06:37:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646977138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x38tT3OS7485tConwIi3FTjxLWH3w3CR8mL8yUHAG7c=; b=Ib8XGHd1kJ5sVFrw0XCCmt1yFQ2jBZ6LP3M5o9EUfL/5HAynODh6zvzZ2tC5x/AzejUe3W Ii7LN7JMen1BImnll2IJxR7i/kvitTsQkp0IWXLuiu8GVCYVj67XYYALuop4Q0wXG7NCtq JUWJMREdxIyi3Z/k77IYl7hfv9jfYcM= X-MC-Unique: uLabrWARPZyh6XSKqWbuug-1 From: Gerd Hoffmann To: qemu-devel@nongnu.org Subject: [PATCH v2 05/11] edk2: add microvm build Date: Fri, 11 Mar 2022 06:37:53 +0100 Message-Id: <20220311053759.875785-6-kraxel@redhat.com> In-Reply-To: <20220311053759.875785-1-kraxel@redhat.com> References: <20220311053759.875785-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: Thomas Huth , Beraldo Leal , "Michael S. Tsirkin" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Gerd Hoffmann , Ani Sinha , Igor Mammedov , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646977277064100005 Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- roms/Makefile.edk2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roms/Makefile.edk2 b/roms/Makefile.edk2 index 6801ea62e8f1..485f2244b159 100644 --- a/roms/Makefile.edk2 +++ b/roms/Makefile.edk2 @@ -33,6 +33,7 @@ flashdevs :=3D \ i386-secure-code \ x86_64-code \ x86_64-secure-code \ + x86_64-microvm \ \ arm-vars \ i386-vars @@ -145,6 +146,16 @@ submodules: -D SMM_REQUIRE cp edk2/Build/Ovmf3264/$(target)_$(call toolchain,x86_64)/FV/OVMF_CODE.fd= $@ =20 +../pc-bios/edk2-x86_64-microvm.fd: submodules + +./edk2-build.sh \ + x86_64 \ + --arch=3DX64 \ + --platform=3DOvmfPkg/Microvm/MicrovmX64.dsc \ + -D NETWORK_IP6_ENABLE \ + -D NETWORK_HTTP_BOOT_ENABLE \ + -D NETWORK_TLS_ENABLE + cp edk2/Build/MicrovmX64/$(target)_$(call toolchain,x86_64)/FV/MICROVM.fd= $@ + ../pc-bios/edk2-arm-vars.fd: ../pc-bios/edk2-arm-code.fd cp edk2/Build/ArmVirtQemu-ARM/$(target)_$(call toolchain,arm)/FV/QEMU_VAR= S.fd \ $@ --=20 2.35.1