diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-12-12 10:00:59 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2024-12-16 07:31:28 +0100 |
commit | 74dc38d0c6c15fd57a5dee94125d13ac5b00491d (patch) | |
tree | fccec1c80da15437bbfb6e103c3605f192dccfc4 | |
parent | d1770b5834cafff007bbe5218915f18879ff8e48 (diff) | |
download | qemu-74dc38d0c6c15fd57a5dee94125d13ac5b00491d.zip qemu-74dc38d0c6c15fd57a5dee94125d13ac5b00491d.tar.gz qemu-74dc38d0c6c15fd57a5dee94125d13ac5b00491d.tar.bz2 |
pc-bios: add missing riscv64 descriptor
Without descriptor libvirt cannot discover the EDK II binaries via
the qemu:///system connection.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Message-ID: <20241212090059.94167-1-heinrich.schuchardt@canonical.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | pc-bios/descriptors/60-edk2-riscv64.json | 31 | ||||
-rw-r--r-- | pc-bios/descriptors/meson.build | 3 |
2 files changed, 33 insertions, 1 deletions
diff --git a/pc-bios/descriptors/60-edk2-riscv64.json b/pc-bios/descriptors/60-edk2-riscv64.json new file mode 100644 index 0000000..14811ca --- /dev/null +++ b/pc-bios/descriptors/60-edk2-riscv64.json @@ -0,0 +1,31 @@ +{ + "description": "UEFI firmware for riscv64", + "interface-types": [ + "uefi" + ], + "mapping": { + "device": "flash", + "executable": { + "filename": "@DATADIR@/edk2-riscv-code.fd", + "format": "raw" + }, + "nvram-template": { + "filename": "@DATADIR@/edk2-riscv-vars.fd", + "format": "raw" + } + }, + "targets": [ + { + "architecture": "riscv64", + "machines": [ + "virt*" + ] + } + ], + "features": [ + + ], + "tags": [ + + ] +} diff --git a/pc-bios/descriptors/meson.build b/pc-bios/descriptors/meson.build index afb5a95..cdd0be0 100644 --- a/pc-bios/descriptors/meson.build +++ b/pc-bios/descriptors/meson.build @@ -6,7 +6,8 @@ if unpack_edk2_blobs and get_option('install_blobs') '60-edk2-arm.json', '60-edk2-i386.json', '60-edk2-x86_64.json', - '60-edk2-loongarch64.json' + '60-edk2-loongarch64.json', + '60-edk2-riscv64.json' ] configure_file(input: files(f), output: f, |