blockcopy: split out virsh implementation
blockcopy: split out virsh implementation

I'm about to extend the capabilities of blockcopy.  Hiding a few
common lines of implementation gets in the way of the new required
logic, and putting the new logic in the common implementation won't
benefit any of the other blockjob operations.  Therefore, it is
simpler to just do the work inline.  There should be no semantic
change in this patch.

* tools/virsh-domain.c (blockJobImpl): Move block copy guts...
(cmdBlockCopy): ...into their lone caller.

Signed-off-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>

agx/libvirt,eskultety/libvirt,shugaoye/libvirt,VenkatDatta/libvirt,zippy2/libvirt,jardasgit/libvirt,jfehlig/libvirt,nertpinx/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,taget/libvirt,jardasgit/libvirt,rlaager/libvirt,eskultety/libvirt,zippy2/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,zippy2/libvirt,rlaager/libvirt,libvirt/libvirt,olafhering/libvirt,elmarco/libvirt,libvirt/libvirt,nertpinx/libvirt,olafhering/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,elmarco/libvirt,shugaoye/libvirt,andreabolognani/libvirt,shugaoye/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,eskultety/libvirt,olafhering/libvirt,elmarco/libvirt,rlaager/libvirt,agx/libvirt,jardasgit/libvirt,jardasgit/libvirt,jfehlig/libvirt,datto/libvirt,nertpinx/libvirt,agx/libvirt,datto/libvirt,crobinso/libvirt,taget/libvirt,elmarco/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,crobinso/libvirt,fabianfreyer/libvirt,taget/libvirt,datto/libvirt,olafhering/libvirt,eskultety/libvirt,crobinso/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,rlaager/libvirt,datto/libvirt,fabianfreyer/libvirt,elmarco/libvirt,agx/libvirt,fabianfreyer/libvirt,taget/libvirt,andreabolognani/libvirt,libvirt/libvirt,rlaager/libvirt,libvirt/libvirt,zippy2/libvirt,agx/libvirt,eskultety/libvirt,datto/libvirt,taget/libvirt