]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
qapi/qdev: Tidy up device_add documentation
authorMarkus Armbruster <armbru@redhat.com>
Thu, 20 Jul 2023 07:16:06 +0000 (09:16 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 26 Jul 2023 12:51:36 +0000 (14:51 +0200)
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 <armbru@redhat.com>
Message-ID: <20230720071610.1096458-4-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
qapi/qdev.json

index 2d73b27c2abb7a152f66cbe9a4067cd9d4e4c140..6bc5a733b86f1cff5b060fb88161ba3e17513b85 100644 (file)
 #
 # 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
 #