block: Factor out hmp_change_medium(), and move to block/monitor/
authorMarkus Armbruster <armbru@redhat.com>
Tue, 24 Jan 2023 12:19:26 +0000 (13:19 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 4 Feb 2023 06:56:54 +0000 (07:56 +0100)
commitfa1d2f8f635f2e3d7a7269283cc0ff81ea6f2031
treef8c84be268ecf38f5ea38df9c317ed447c7bdb0b
parentcffaca0fab7ccb955c0e498c5132b801844d2c41
block: Factor out hmp_change_medium(), and move to block/monitor/

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230124121946.1139465-13-armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
block/monitor/block-hmp-cmds.c
include/monitor/hmp.h
monitor/hmp-cmds.c