|
From: | Simon Sapin |
Subject: | Re: [PATCH] Add some documentation for "dtb" devices tree blobs |
Date: | Sun, 26 Jun 2022 01:10:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
On 26/06/2022 00:34, Simon Sapin wrote:
diff --git qemu-options.hx qemu-options.hx index 377d22fbd8..eea75ddb37 100644 --- qemu-options.hx +++ qemu-options.hx @@ -38,6 +38,7 @@ DEF("machine", HAS_ARG, QEMU_OPTION_machine, \ " hmat=on|off controls ACPI HMAT support (default=off)\n" " memory-backend='backend-id' specifies explicitly provided backend for main RAM (default=none)\n" " cxl-fmw.0.targets.0=firsttarget,cxl-fmw.0.targets.1=secondtarget,cxl-fmw.0.size=size[,cxl-fmw.0.interleave-granularity=granularity]\n", + " dumpdtb=file dump current device tree blob to a file and quit\n" QEMU_ARCH_ALL) SRST ``-machine [type=]name[,prop=value[,...]]``
Before I added the above chunk I found no trace of `dumpdtb` in --help or Sphinx docs, but a code search finds two C string literals that seemed to already to document its existence:
https://gitlab.com/qemu-project/qemu/-/blob/v7.0.0/util/qemu-config.c#L192 https://gitlab.com/qemu-project/qemu/-/blob/v7.0.0/hw/core/machine.c#L810However I had trouble to find in the code: where are these strings used? Are they ever shown to a user?
-- Simon Sapin
[Prev in Thread] | Current Thread | [Next in Thread] |