aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2013-01-29 17:58:41 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-01-30 11:19:53 +0100
commit99f4280854514b22972bd257fe5facc439222d2e (patch)
tree93953850db2bc694eb0be5572a1320b67ae83944
parenta05ddd9216b6c5e9c48eac3433ff6fa4a282fc17 (diff)
qmp-commands.hx: s/tray-open/tray_open/ to match qapi schema
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>
-rw-r--r--qmp-commands.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index f58a8411ea..f90efe590c 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -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: