summaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-01-29 20:49:13 +0100
committerMax Reitz <mreitz@redhat.com>2016-02-02 17:47:06 +0100
commit327032ce74d0d9fbd4e18528d0f124b68bc56cea (patch)
tree51e77df330b4ed74c2ad68a487e711035f6fcece /qapi
parentabb3e55b5b718d6392441f56ba0729a62105ac56 (diff)
downloadqemu-327032ce74d0d9fbd4e18528d0f124b68bc56cea.zip
block/qapi: Emit tray_open only if there is a tray
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Message-id: 1454096953-31773-5-git-send-email-mreitz@redhat.com
Diffstat (limited to 'qapi')
-rw-r--r--qapi/block-core.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 40239bfcf9..628a41dfca 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -382,8 +382,8 @@
# @locked: True if the guest has locked this device from having its media
# removed
#
-# @tray_open: #optional True if the device has a tray and it is open
-# (only present if removable is true)
+# @tray_open: #optional True if the device's tray is open
+# (only present if it has a tray)
#
# @dirty-bitmaps: #optional dirty bitmaps information (only present if the
# driver has one or more dirty bitmaps) (Since 2.0)