Searched hist:"74 ce9e466ae5632889d3187382764fc3b55fcc91" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | blockdev.c | diff 74ce9e466ae5632889d3187382764fc3b55fcc91 Wed Feb 13 16:53:01 CST 2019 Max Reitz <mreitz@redhat.com> 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>
|