Signed-off-by: Benoit Canet <ben...@irqsave.net> --- qapi-schema.json | 19 ------------------- qapi/block.json | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json index eebb632..b67c883 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1456,25 +1456,6 @@ { 'command': 'expire_password', 'data': {'protocol': 'str', 'time': 'str'} } ## -# @eject: -# -# Ejects a device from a removable drive. -# -# @device: The name of the device -# -# @force: @optional If true, eject regardless of whether the drive is locked. -# If not specified, the default value is false. -# -# Returns: Nothing on success -# If @device is not a valid block device, DeviceNotFound -# -# Notes: Ejecting a device will no media results in success -# -# Since: 0.14.0 -## -{ 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} } - -## # @change-vnc-password: # # Change the VNC server password. diff --git a/qapi/block.json b/qapi/block.json index fe4812e..de4b144 100644 --- a/qapi/block.json +++ b/qapi/block.json @@ -102,3 +102,22 @@ 'data': { 'device': 'str', '*id': 'str', '*name': 'str'}, 'returns': 'SnapshotInfo' } +## +# @eject: +# +# Ejects a device from a removable drive. +# +# @device: The name of the device +# +# @force: @optional If true, eject regardless of whether the drive is locked. +# If not specified, the default value is false. +# +# Returns: Nothing on success +# If @device is not a valid block device, DeviceNotFound +# +# Notes: Ejecting a device will no media results in success +# +# Since: 0.14.0 +## +{ 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} } + -- 1.9.1