[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH v2] qmp-commands.hx: s/tray-open/tray_open/ to mat
From: |
Michal Privoznik |
Subject: |
[Qemu-trivial] [PATCH v2] qmp-commands.hx: s/tray-open/tray_open/ to match qapi schema |
Date: |
Tue, 29 Jan 2013 17:58:41 +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 <address@hidden>
---
diff to v1:
-add S-o-b line
qmp-commands.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qmp-commands.hx b/qmp-commands.hx
index f58a841..f90efe5 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:
--
1.8.0.2
- [Qemu-trivial] [PATCH v2] qmp-commands.hx: s/tray-open/tray_open/ to match qapi schema,
Michal Privoznik <=