commit | 1068674927a08cb9f535946abe2f91529b13160c | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Mon Oct 26 21:39:16 2015 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Nov 11 16:22:47 2015 +0100 |
tree | 9499a3f55eb469b6321e0fe84689f03bb9d7552b | |
parent | 24fb4133001e1f54a526f0927837f30c1507169a [diff] |
hmp: Use blockdev-change-medium for change command Use separate code paths for the two overloaded functions of the 'change' HMP command, and invoke the 'blockdev-change-medium' QMP command if used on a block device (by calling qmp_blockdev_change_medium()). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>