[PATCH v2 11/17] virsh: Track if vol-upload or vol-download work over a block device
Peter Krempa
pkrempa at redhat.com
Thu Aug 20 11:47:45 UTC 2020
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 <mprivozn at redhat.com>
> ---
> tools/virsh-util.h | 1 +
> tools/virsh-volume.c | 14 ++++++++++++++
> 2 files changed, 15 insertions(+)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list