diff options
author | Max Reitz <mreitz@redhat.com> | 2015-11-06 16:27:06 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-11-11 16:22:47 +0100 |
commit | 24fb4133001e1f54a526f0927837f30c1507169a (patch) | |
tree | ef1ae268d491e4a2ac4c040e403e5d926b51cb67 /qmp.c | |
parent | f1f57066573e832438cd87600310589fa9cee202 (diff) |
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 <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qmp.c')
-rw-r--r-- | qmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -414,7 +414,7 @@ void qmp_change(const char *device, const char *target, if (strcmp(device, "vnc") == 0) { qmp_change_vnc(target, has_arg, arg, errp); } else { - qmp_change_blockdev(device, target, arg, errp); + qmp_blockdev_change_medium(device, target, has_arg, arg, errp); } } |