]> git.proxmox.com Git - qemu.git/commitdiff
qmp-commands.hx: s/tray-open/tray_open/ to match qapi schema
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 29 Jan 2013 16:58:41 +0000 (17:58 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 30 Jan 2013 10:19:53 +0000 (11:19 +0100)
Currently, we are using 'tray_open' in QMP and 'tray-open' in
HMP. However, the QMP documentation was mistakenly using the
HMP version.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qmp-commands.hx

index f58a8411eafbf5b8e7d0282961f09daae0d12120..f90efe590c929fe67573501512c5b74dd73fee5a 100644 (file)
@@ -1659,7 +1659,7 @@ Each json-object contain the following:
          - Possible values: "unknown"
 - "removable": true if the device is removable, false otherwise (json-bool)
 - "locked": true if the device is locked, false otherwise (json-bool)
-- "tray-open": only present if removable, true if the device has a tray,
+- "tray_open": only present if removable, true if the device has a tray,
                and it is open (json-bool)
 - "inserted": only present if the device is inserted, it is a json-object
    containing the following: