From 82fcf66e052d6dae834255a814969c67e13b6791 Mon Sep 17 00:00:00 2001 From: Max Reitz Date: Fri, 10 Nov 2017 23:43:01 +0100 Subject: blockdev: Drop BD-{remove,insert}-medium's @device This is an incompatible change, which is fine as the commands are experimental. Signed-off-by: Max Reitz Message-id: 20171110224302.14424-4-mreitz@redhat.com Reviewed-by: Alberto Garcia Signed-off-by: Max Reitz --- qapi/block-core.json | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'qapi') diff --git a/qapi/block-core.json b/qapi/block-core.json index e94a6881b2..d1df47de26 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -3411,8 +3411,6 @@ # # If the tray is open and there is no medium inserted, this will be a no-op. # -# @device: Block device name (deprecated, use @id instead) -# # @id: The name or QOM path of the guest device (since: 2.8) # # Note: This command is still a work in progress and is considered experimental. @@ -3447,8 +3445,7 @@ # ## { 'command': 'x-blockdev-remove-medium', - 'data': { '*device': 'str', - '*id': 'str' } } + 'data': { 'id': 'str' } } ## # @x-blockdev-insert-medium: @@ -3457,8 +3454,6 @@ # device's tray must currently be open (unless there is no attached guest # device) and there must be no medium inserted already. # -# @device: Block device name (deprecated, use @id instead) -# # @id: The name or QOM path of the guest device (since: 2.8) # # @node-name: name of a node in the block driver state graph @@ -3486,8 +3481,7 @@ # ## { 'command': 'x-blockdev-insert-medium', - 'data': { '*device': 'str', - '*id': 'str', + 'data': { 'id': 'str', 'node-name': 'str'} } -- cgit v1.2.3-55-g7522