Skip to content

Commit

Permalink
OVMF: add passthru.mergedFirmware parameter; xen: use the merged OV…
Browse files Browse the repository at this point in the history
…MF blob (#373560)
  • Loading branch information
adamcstephens authored Jan 23, 2025
2 parents 010f694 + a35e5e5 commit 37b9208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkgs/applications/virtualization/OVMF/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
prefix = "${finalAttrs.finalPackage.fd}/FV/${fwPrefix}";
in
{
mergedFirmware = "${prefix}.fd";
firmware = "${prefix}_CODE.fd";
variables = "${prefix}_VARS.fd";
variablesMs =
Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/xen/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ stdenv.mkDerivation (finalAttrs: {
"--disable-qemu-traditional"
"--with-system-qemu"
(if withSeaBIOS then "--with-system-seabios=${systemSeaBIOS.firmware}" else "--disable-seabios")
(if withOVMF then "--with-system-ovmf=${OVMF.firmware}" else "--disable-ovmf")
(if withOVMF then "--with-system-ovmf=${OVMF.mergedFirmware}" else "--disable-ovmf")
(if withIPXE then "--with-system-ipxe=${ipxe.firmware}" else "--disable-ipxe")
(enableFeature withFlask "xsmpolicy")
];
Expand Down

0 comments on commit 37b9208

Please sign in to comment.