From 24fb4133001e1f54a526f0927837f30c1507169a Mon Sep 17 00:00:00 2001 From: Max Reitz Date: Fri, 6 Nov 2015 16:27:06 +0100 Subject: qmp: Introduce blockdev-change-medium Introduce a new QMP command 'blockdev-change-medium' which is intended to replace the 'change' command for block devices. The existing function qmp_change_blockdev() is accordingly renamed to qmp_blockdev_change_medium(). Signed-off-by: Max Reitz Signed-off-by: Kevin Wolf --- qapi-schema.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'qapi-schema.json') diff --git a/qapi-schema.json b/qapi-schema.json index 8c3a42a1ac..691200e16a 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1856,8 +1856,10 @@ # device's password. The behavior of reads and writes to the block # device between when these calls are executed is undefined. # -# Notes: It is strongly recommended that this interface is not used especially -# for changing block devices. +# Notes: This interface is deprecated, and it is strongly recommended that you +# avoid using it. For changing block devices, use +# blockdev-change-medium; for changing VNC parameters, use +# change-vnc-password. # # Since: 0.14.0 ## -- cgit v1.2.3