From: Markus Armbruster Date: Mon, 3 Nov 2025 08:23:53 +0000 (+0100) Subject: docs/interop/firmware: Literal block markup X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f68938c435332a6b80002145b3ec37c8907c8d3c;p=thirdparty%2Fqemu.git docs/interop/firmware: Literal block markup A few doc comments show command line snippets. The snippets are indented, which is legible enough. Actually formatting these with Sphinx would fail with "Unexpected indentation", though. We don't so far. Add suitable markup anyway. Signed-off-by: Markus Armbruster Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Vladimir Sementsov-Ogievskiy Message-ID: <20251103082354.3273027-9-armbru@redhat.com> --- diff --git a/docs/interop/firmware.json b/docs/interop/firmware.json index 7ffa7697e4..da0362a2c0 100644 --- a/docs/interop/firmware.json +++ b/docs/interop/firmware.json @@ -308,12 +308,19 @@ # indicates whether there will be an associated NVRAM template # present. The preferred corresponding QEMU command line options # are +# +# :: +# # -drive if=none,id=pflash0,readonly=on,file=@executable.@filename,format=@executable.@format # -machine pflash0=pflash0 +# # or equivalent -blockdev instead of -drive. When @mode is # @combined the executable must be cloned before use and # configured with readonly=off. With QEMU versions older than # 4.0, you have to use +# +# :: +# # -drive if=pflash,unit=0,readonly=on,file=@executable.@filename,format=@executable.@format # # @nvram-template: Identifies the NVRAM template compatible with @@ -326,10 +333,17 @@ # typically used for persistently storing the non-volatile UEFI # variables of a virtual machine definition. The preferred # corresponding QEMU command line options are +# +# :: +# # -drive if=none,id=pflash1,readonly=off,file=FILENAME_OF_PRIVATE_NVRAM_FILE,format=@nvram-template.@format # -machine pflash1=pflash1 +# # or equivalent -blockdev instead of -drive. With QEMU versions # older than 4.0, you have to use +# +# :: +# # -drive if=pflash,unit=1,readonly=off,file=FILENAME_OF_PRIVATE_NVRAM_FILE,format=@nvram-template.@format # # Since: 3.0