aboutsummaryrefslogtreecommitdiff
path: root/qdev-monitor.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-02-13 23:53:01 +0100
committerKevin Wolf <kwolf@redhat.com>2019-03-19 15:50:20 +0100
commit74ce9e466ae5632889d3187382764fc3b55fcc91 (patch)
tree0a4b69bc776c4bc15685312d1d4bb9a8c3fd7092 /qdev-monitor.c
parent782b9d06bf9853678fe3225426659539d0bdf668 (diff)
blockdev: Check @replaces in blockdev_mirror_common
There is no reason why the constraints we put on @replaces should be limited to drive-mirror. Therefore, move the sanity checks from qmp_drive_mirror() to blockdev_mirror_common() so they apply to blockdev-mirror as well. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qdev-monitor.c')
0 files changed, 0 insertions, 0 deletions