On Thu, Aug 08, 2019 at 06:00:36PM +0200, Peter Krempa wrote:
The utility of the function is extremely limited as for block copy
we need to register the mirror chain earlier than when it's set with the
disk. This means that it would be open-coded in that case.
Avoid any weird usage and just open-code the only current usage, remove
the function, and reword the docs.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_blockjob.c | 20 +-------------------
src/qemu/qemu_blockjob.h | 4 ----
src/qemu/qemu_domain.c | 2 +-
3 files changed, 2 insertions(+), 24 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano