]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qmp-commands: remove device_add from txt
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sun, 25 Sep 2016 09:13:21 +0000 (13:13 +0400)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 16 Jan 2017 08:19:48 +0000 (09:19 +0100)
It's already fully described in the schema. Fix the schema to document
the command and not the argument (place doc before first arg).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/qmp-commands.txt

index 89170aabdeefe3aa9fe9eae3a3e896b77d29d7bc..07138cdc8a83530764890eea88cdeb87de4d7f41 100644 (file)
@@ -46,34 +46,8 @@ If you're planning to adopt QMP, please observe the following:
     3. Errors, in special, are not documented. Applications should NOT check
        for specific errors classes or data (it's strongly recommended to only
        check for the "error" key)
-
 2. Regular Commands
 ===================
 
 Server's responses in the examples below are always a success response, please
 refer to the QMP specification for more details on error responses.
-
-device_add
-----------
-
-Add a device.
-
-Arguments:
-
-- "driver": the name of the new device's driver (json-string)
-- "bus": the device's parent bus (device tree path, json-string, optional)
-- "id": the device's ID, must be unique (json-string)
-- device properties
-
-Example:
-
--> { "execute": "device_add", "arguments": { "driver": "e1000", "id": "net1" } }
-<- { "return": {} }
-
-Notes:
-
-(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,\?" command-line argument, where DEVICE is the device's name