On Tue, Jul 07, 2020 at 21:46:29 +0200, Michal Privoznik wrote:
> We can't use virFileInData() with block devices, but we could use
> new virFileInDataDetectZeroes(). But to decide we need to know if
> the FD we are reading data from / writing data to is a block
> device. Store this information in _virshStreamCallbackData.
> 
> Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
> ---
>  tools/virsh-util.h   |  1 +
>  tools/virsh-volume.c | 14 ++++++++++++++
>  2 files changed, 15 insertions(+)

Reviewed-by: Peter Krempa <pkre...@redhat.com>

Reply via email to