mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
04406d87d2
Test firmware description parsing so far. The test files come from three locations: 1) ovmf-sb-keys.json and ovmf-sb.json come from OVMF package from RHEL-7 (with slight name change to reflect their features in filename too), 2) bios.json and aavmf.json come from example JSON documents from firmware.json from qemu's git (3a0adfc9bf), 3) ovmf.json is then copied from ovmf-sb.json and stripped of SECURE_BOOT and REQUIRES_SMM flags, OVMF path change, description update and machine type expanded for both pc and q35 machine types. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
35 lines
697 B
JSON
35 lines
697 B
JSON
{
|
|
"description": "UEFI firmware for x86_64 virtual machines",
|
|
"interface-types": [
|
|
"uefi"
|
|
],
|
|
"mapping": {
|
|
"device": "flash",
|
|
"executable": {
|
|
"filename": "/usr/share/OVMF/OVMF_CODE.fd",
|
|
"format": "raw"
|
|
},
|
|
"nvram-template": {
|
|
"filename": "/usr/share/OVMF/OVMF_VARS.fd",
|
|
"format": "raw"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"architecture": "x86_64",
|
|
"machines": [
|
|
"pc-i440fx-*",
|
|
"pc-q35-*"
|
|
]
|
|
}
|
|
],
|
|
"features": [
|
|
"acpi-s3",
|
|
"amd-sev",
|
|
"verbose-dynamic"
|
|
],
|
|
"tags": [
|
|
|
|
]
|
|
}
|