From patchwork Fri Mar 21 08:53:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 40552 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E8CD727BBEA; Fri, 21 Mar 2025 08:55:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7C45127BBE2 for ; Fri, 21 Mar 2025 08:55:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvY9i-00071c-GB; Fri, 21 Mar 2025 04:55:06 -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 1tvY9h-0006zS-G3 for guix-patches@gnu.org; Fri, 21 Mar 2025 04:55:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tvY9g-0001aV-IT for guix-patches@gnu.org; Fri, 21 Mar 2025 04:55:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Axgk+w7LABuh8ZqCTqxN3cdv+MB7k9FoROH3qpJ6bjM=; b=R0MBUc3Oen3/dEDGE1x0DBDhO9LfjYhioE0gkTTNUpi9QN2aeIkxFzyO5PQCi+PtSTyB/1ULlszlAk/JRsIj4jb2bZh7hfyh3x/VIbKP3nkfJW2HeiDBW6FRUyy4BLc+/AA3XR4sXPSjkLIRyQWJK2UWzdv7q/UFdw27cT5ZeldLYYZFqp0c9BBN7CmBJ8+Og4x45dzVgwbszOUk1OnaI5XUFkx619OHmqGVBJCw4XxQFyNKE0YLRRSTf3KfWvKBhgsZyLVcQ2yVBSIpaQiF85ve1EKQ+4eTYT56sXGQ0XhnSidjdFgmwV0p1pbLZZS7/mTNBBmLLR3/GQJw3lI2Ew==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tvY9g-0001BT-BD; Fri, 21 Mar 2025 04:55:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77148] [PATCH 4/9] gnu: Add ovmf-x86-64-microvm. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Fri, 21 Mar 2025 08:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77148 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77148@debbugs.gnu.org Cc: Efraim Flashner , Maxim Cournoyer , Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 77148-submit@debbugs.gnu.org id=B77148.17425472584214 (code B ref 77148); Fri, 21 Mar 2025 08:55:04 +0000 Received: (at 77148) by debbugs.gnu.org; 21 Mar 2025 08:54:18 +0000 Received: from localhost ([127.0.0.1]:35046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvY8w-00015p-AZ for submit@debbugs.gnu.org; Fri, 21 Mar 2025 04:54:18 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:42407) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tvY8L-0000zM-0a for 77148@debbugs.gnu.org; Fri, 21 Mar 2025 04:53:41 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-ac2a089fbbdso311788466b.1 for <77148@debbugs.gnu.org>; Fri, 21 Mar 2025 01:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742547215; x=1743152015; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Axgk+w7LABuh8ZqCTqxN3cdv+MB7k9FoROH3qpJ6bjM=; b=kCivIDXFkLXVhDq9rHrLEKrxlvaO69MtbmExWF5IQQ8tguZ0s9+tMLhjkpUEv+BFsF M+p6QJQHjCyq64Ax3BBNY9zAtCdRDCtkqza/jjEqsGmaWAsp6JpJTaTNCX2z8qaxMvZB ykGSY0/ilJ5x585mPnpwRs1EZfxwZVnJExsHv48aGOTerHJsVifW9VsHDpisAoTeqdbq VY1Ri5LgjYHIn/LZGsouQnn0Z0DfJznu37lwdVVmG0GHYjN7jdf5I5Ducz4ybnOuvxCa l6+a4yD/slxNJvYSnWgb7PPHu68aTiCQ7k91MdDty0ve75p0rlxh+axCR+UOiqjiW9a0 vOEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742547215; x=1743152015; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Axgk+w7LABuh8ZqCTqxN3cdv+MB7k9FoROH3qpJ6bjM=; b=M3R48M3UXpS3C/eVFThd7YApOSoV5UdZrGikDeizwK5D4DjXh/fyKjIibXmamqPS65 nZQQEYoO13bfJAMQcrcOnv0hD4j3sBxkS6siriUmkOlBPMNnz4VmIUgKBiKX7djy6BMd 1Q0UyFDG3mFyqJdh+v0Y5PrSKd5+Uouc5TMy6Jwn9+HKxyWhJcMw/c+HH5Ji6odkIGsY y9yrMpzrvSz1Y2tdKwIRoIMNC5VesUpOHF87P38Ws7n5wiQ+jUOnIA5NaU+5zqnKTBUV XDaRzY83LMaF3fzQ/3s60ROoQf5MTS7PRRYjP+oaxmKTQGjf3zijAq5+9zwgCzkSwMSZ gkQw== X-Gm-Message-State: AOJu0Yx7LOyAh3gymFdbYLaOR2AnGVu96ghlHRAN7Mg/0uNR3mVN8hO8 5Q37zQUO9AEFlSm7c8HJ+LD47XGtROoj/dmPoCe6vB0/yKh+WnSGIr8OOyFL X-Gm-Gg: ASbGncuxIzZmhq8PBUTP2VAZqOrG2QvbyuonN6bXl2F9AdK/fBWj0O7FUddcRAMKNPv M10clXMtcNRGzflGB3QTN7y9xwehUwOKVEV0tOJkejgkTe4dHNpnNex0x4KnDIgTSt9r7VZk0vp Q6lDAqdhvt2sgU1POMYwanHHcT83keNC77lg7C9yoMmLd9uQoRxWPk0wmTf0JQRR+Hr0SIJ9e0z h+Htu8XfTGtx34nE2L62o+++PDcVkayKq8KleV5TFNISyhojltbEAe3PkCeH0nI7UMWbjyyG9AG Ag6e4w2d623igHV2+0x0ld/BN/v5tpgeqQeAWchJ+anVVN8j X-Google-Smtp-Source: AGHT+IHCSk2IK40BE/ofY2gZOw+3h02CxKMM3wdeWeWel+c8qvpOTUWsQyJRGuLfG2+F/gpgz7psIQ== X-Received: by 2002:a17:907:86ab:b0:ac3:b50c:c94d with SMTP id a640c23a62f3a-ac3f042fc1bmr250384266b.28.1742547214781; Fri, 21 Mar 2025 01:53:34 -0700 (PDT) Received: from localhost ([31.210.181.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3efda3684sm108530366b.181.2025.03.21.01.53.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Mar 2025 01:53:34 -0700 (PDT) From: Efraim Flashner Date: Fri, 21 Mar 2025 10:53:05 +0200 Message-ID: <7a84fad119f972bd7135d3c6dddafde4c6d03d07.1742546953.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.48.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/firmware.scm (ovmf-x86-64-microvm): New variable. Change-Id: I1c8d7b037a84d7855d53def4c639a037c429aedb --- gnu/packages/firmware.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 35bfa6425ac..e7d2e390acc 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -1138,6 +1138,24 @@ (define-public ovmf-x86-64 "OVMF_CODE" "OVMF_VARS")))))))))))) +(define-public ovmf-x86-64-microvm + (let ((base (make-ovmf-firmware "x86_64"))) + (package + (inherit base) + (name "ovmf-x86-64-microvm") + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'build + (lambda _ + (invoke "build" "-a" "X64" "-t" "GCC" "-p" + "OvmfPkg/Microvm/MicrovmX64.dsc"))) + (replace 'install + (lambda _ + (install-file "Build/MicrovmX64/RELEASE_GCC/FV/MICROVM.fd" + (string-append #$output "/share/firmware"))))))))))) + (define-public ovmf-i686 (let ((base (make-ovmf-firmware "i686"))) (package