docs/interop/firmware.json: Align examples

Adjust indentation for commit d23055b8db (qapi: Require descriptions
and tagged sections to be indented).

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240307-qapi-firmware-json-v2-1-3b29eabb9b9a@linutronix.de>
[PMD: Reword description using Markus suggestion]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Thomas Weißschuh 2024-03-07 13:05:34 +01:00 committed by Philippe Mathieu-Daudé
parent c9ee67c3c6
commit 3d6753ef18

View File

@ -435,203 +435,203 @@
# #
# Examples: # Examples:
# #
# { # {
# "description": "SeaBIOS", # "description": "SeaBIOS",
# "interface-types": [ # "interface-types": [
# "bios" # "bios"
# ], # ],
# "mapping": { # "mapping": {
# "device": "memory", # "device": "memory",
# "filename": "/usr/share/seabios/bios-256k.bin" # "filename": "/usr/share/seabios/bios-256k.bin"
# },
# "targets": [
# {
# "architecture": "i386",
# "machines": [
# "pc-i440fx-*",
# "pc-q35-*"
# ]
# }, # },
# { # "targets": [
# "architecture": "x86_64", # {
# "machines": [ # "architecture": "i386",
# "pc-i440fx-*", # "machines": [
# "pc-q35-*" # "pc-i440fx-*",
# ] # "pc-q35-*"
# } # ]
# ], # },
# "features": [ # {
# "acpi-s3", # "architecture": "x86_64",
# "acpi-s4" # "machines": [
# ], # "pc-i440fx-*",
# "tags": [ # "pc-q35-*"
# "CONFIG_BOOTSPLASH=n", # ]
# "CONFIG_ROM_SIZE=256", # }
# "CONFIG_USE_SMM=n" # ],
# ] # "features": [
# } # "acpi-s3",
# "acpi-s4"
# ],
# "tags": [
# "CONFIG_BOOTSPLASH=n",
# "CONFIG_ROM_SIZE=256",
# "CONFIG_USE_SMM=n"
# ]
# }
# #
# { # {
# "description": "OVMF with SB+SMM, empty varstore", # "description": "OVMF with SB+SMM, empty varstore",
# "interface-types": [ # "interface-types": [
# "uefi" # "uefi"
# ], # ],
# "mapping": { # "mapping": {
# "device": "flash", # "device": "flash",
# "executable": { # "executable": {
# "filename": "/usr/share/OVMF/OVMF_CODE.secboot.fd", # "filename": "/usr/share/OVMF/OVMF_CODE.secboot.fd",
# "format": "raw" # "format": "raw"
# },
# "nvram-template": {
# "filename": "/usr/share/OVMF/OVMF_VARS.fd",
# "format": "raw"
# }
# }, # },
# "nvram-template": { # "targets": [
# "filename": "/usr/share/OVMF/OVMF_VARS.fd", # {
# "format": "raw" # "architecture": "x86_64",
# } # "machines": [
# }, # "pc-q35-*"
# "targets": [ # ]
# { # }
# "architecture": "x86_64", # ],
# "machines": [ # "features": [
# "pc-q35-*" # "acpi-s3",
# ] # "amd-sev",
# } # "requires-smm",
# ], # "secure-boot",
# "features": [ # "verbose-dynamic"
# "acpi-s3", # ],
# "amd-sev", # "tags": [
# "requires-smm", # "-a IA32",
# "secure-boot", # "-a X64",
# "verbose-dynamic" # "-p OvmfPkg/OvmfPkgIa32X64.dsc",
# ], # "-t GCC48",
# "tags": [ # "-b DEBUG",
# "-a IA32", # "-D SMM_REQUIRE",
# "-a X64", # "-D SECURE_BOOT_ENABLE",
# "-p OvmfPkg/OvmfPkgIa32X64.dsc", # "-D FD_SIZE_4MB"
# "-t GCC48", # ]
# "-b DEBUG", # }
# "-D SMM_REQUIRE",
# "-D SECURE_BOOT_ENABLE",
# "-D FD_SIZE_4MB"
# ]
# }
# #
# { # {
# "description": "OVMF with SB+SMM, SB enabled, MS certs enrolled", # "description": "OVMF with SB+SMM, SB enabled, MS certs enrolled",
# "interface-types": [ # "interface-types": [
# "uefi" # "uefi"
# ], # ],
# "mapping": { # "mapping": {
# "device": "flash", # "device": "flash",
# "executable": { # "executable": {
# "filename": "/usr/share/OVMF/OVMF_CODE.secboot.fd", # "filename": "/usr/share/OVMF/OVMF_CODE.secboot.fd",
# "format": "raw" # "format": "raw"
# },
# "nvram-template": {
# "filename": "/usr/share/OVMF/OVMF_VARS.secboot.fd",
# "format": "raw"
# }
# }, # },
# "nvram-template": { # "targets": [
# "filename": "/usr/share/OVMF/OVMF_VARS.secboot.fd", # {
# "format": "raw" # "architecture": "x86_64",
# } # "machines": [
# }, # "pc-q35-*"
# "targets": [ # ]
# { # }
# "architecture": "x86_64", # ],
# "machines": [ # "features": [
# "pc-q35-*" # "acpi-s3",
# ] # "amd-sev",
# } # "enrolled-keys",
# ], # "requires-smm",
# "features": [ # "secure-boot",
# "acpi-s3", # "verbose-dynamic"
# "amd-sev", # ],
# "enrolled-keys", # "tags": [
# "requires-smm", # "-a IA32",
# "secure-boot", # "-a X64",
# "verbose-dynamic" # "-p OvmfPkg/OvmfPkgIa32X64.dsc",
# ], # "-t GCC48",
# "tags": [ # "-b DEBUG",
# "-a IA32", # "-D SMM_REQUIRE",
# "-a X64", # "-D SECURE_BOOT_ENABLE",
# "-p OvmfPkg/OvmfPkgIa32X64.dsc", # "-D FD_SIZE_4MB"
# "-t GCC48", # ]
# "-b DEBUG", # }
# "-D SMM_REQUIRE",
# "-D SECURE_BOOT_ENABLE",
# "-D FD_SIZE_4MB"
# ]
# }
# #
# { # {
# "description": "OVMF with SEV-ES support", # "description": "OVMF with SEV-ES support",
# "interface-types": [ # "interface-types": [
# "uefi" # "uefi"
# ], # ],
# "mapping": { # "mapping": {
# "device": "flash", # "device": "flash",
# "executable": { # "executable": {
# "filename": "/usr/share/OVMF/OVMF_CODE.fd", # "filename": "/usr/share/OVMF/OVMF_CODE.fd",
# "format": "raw" # "format": "raw"
# },
# "nvram-template": {
# "filename": "/usr/share/OVMF/OVMF_VARS.fd",
# "format": "raw"
# }
# }, # },
# "nvram-template": { # "targets": [
# "filename": "/usr/share/OVMF/OVMF_VARS.fd", # {
# "format": "raw" # "architecture": "x86_64",
# } # "machines": [
# }, # "pc-q35-*"
# "targets": [ # ]
# { # }
# "architecture": "x86_64", # ],
# "machines": [ # "features": [
# "pc-q35-*" # "acpi-s3",
# ] # "amd-sev",
# } # "amd-sev-es",
# ], # "verbose-dynamic"
# "features": [ # ],
# "acpi-s3", # "tags": [
# "amd-sev", # "-a X64",
# "amd-sev-es", # "-p OvmfPkg/OvmfPkgX64.dsc",
# "verbose-dynamic" # "-t GCC48",
# ], # "-b DEBUG",
# "tags": [ # "-D FD_SIZE_4MB"
# "-a X64", # ]
# "-p OvmfPkg/OvmfPkgX64.dsc", # }
# "-t GCC48",
# "-b DEBUG",
# "-D FD_SIZE_4MB"
# ]
# }
# #
# { # {
# "description": "UEFI firmware for ARM64 virtual machines", # "description": "UEFI firmware for ARM64 virtual machines",
# "interface-types": [ # "interface-types": [
# "uefi" # "uefi"
# ], # ],
# "mapping": { # "mapping": {
# "device": "flash", # "device": "flash",
# "executable": { # "executable": {
# "filename": "/usr/share/AAVMF/AAVMF_CODE.fd", # "filename": "/usr/share/AAVMF/AAVMF_CODE.fd",
# "format": "raw" # "format": "raw"
# },
# "nvram-template": {
# "filename": "/usr/share/AAVMF/AAVMF_VARS.fd",
# "format": "raw"
# }
# }, # },
# "nvram-template": { # "targets": [
# "filename": "/usr/share/AAVMF/AAVMF_VARS.fd", # {
# "format": "raw" # "architecture": "aarch64",
# } # "machines": [
# }, # "virt-*"
# "targets": [ # ]
# { # }
# "architecture": "aarch64", # ],
# "machines": [ # "features": [
# "virt-*"
# ]
# }
# ],
# "features": [
# #
# ], # ],
# "tags": [ # "tags": [
# "-a AARCH64", # "-a AARCH64",
# "-p ArmVirtPkg/ArmVirtQemu.dsc", # "-p ArmVirtPkg/ArmVirtQemu.dsc",
# "-t GCC48", # "-t GCC48",
# "-b DEBUG", # "-b DEBUG",
# "-D DEBUG_PRINT_ERROR_LEVEL=0x80000000" # "-D DEBUG_PRINT_ERROR_LEVEL=0x80000000"
# ] # ]
# } # }
## ##
{ 'struct' : 'Firmware', { 'struct' : 'Firmware',
'data' : { 'description' : 'str', 'data' : { 'description' : 'str',