From: Markus Armbruster Date: Thu, 20 Jul 2023 07:16:06 +0000 (+0200) Subject: qapi/qdev: Tidy up device_add documentation X-Git-Tag: v8.1.0-rc2~10^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9c72efd6d6d62ac84ae57ca55606747e04e8ba7;p=thirdparty%2Fqemu.git qapi/qdev: Tidy up device_add documentation The notes section comes out like this: Notes Additional arguments depend on the type. 1. For detailed information about this command, please refer to the ‘docs/qdev-device-use.txt’ file. 2. It’s possible to list device properties by running QEMU with the “-device DEVICE,help” command-line argument, where DEVICE is the device’s name The first item isn't numbered. Fix that: 1. Additional arguments depend on the type. 2. For detailed information about this command, please refer to the ‘docs/qdev-device-use.txt’ file. 3. It’s possible to list device properties by running QEMU with the “-device DEVICE,help” command-line argument, where DEVICE is the device’s name Signed-off-by: Markus Armbruster Message-ID: <20230720071610.1096458-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/qapi/qdev.json b/qapi/qdev.json index 2d73b27c2ab..6bc5a733b86 100644 --- a/qapi/qdev.json +++ b/qapi/qdev.json @@ -53,12 +53,12 @@ # # Notes: # -# Additional arguments depend on the type. +# 1. Additional arguments depend on the type. # -# 1. For detailed information about this command, please refer to the +# 2. For detailed information about this command, please refer to the # 'docs/qdev-device-use.txt' file. # -# 2. It's possible to list device properties by running QEMU with the +# 3. It's possible to list device properties by running QEMU with the # "-device DEVICE,help" command-line argument, where DEVICE is the # device's name #