Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <armbru@redhat.com>
Message-ID: <20230720071610.1096458-4-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
  • Loading branch information
Markus Armbruster committed Jul 26, 2023
1 parent e893b9e commit a9c72ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qapi/qdev.json
Expand Up @@ -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
#
Expand Down

0 comments on commit a9c72ef

Please sign in to comment.