diff options
author | Max Reitz <mreitz@redhat.com> | 2015-10-26 21:39:16 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-11-11 16:22:47 +0100 |
commit | 1068674927a08cb9f535946abe2f91529b13160c (patch) | |
tree | 9499a3f55eb469b6321e0fe84689f03bb9d7552b /blockdev.c | |
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>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions