[PATCH 3/3] remote_driver: Implement virStreamInData() callback

Martin Kletzander mkletzan at redhat.com
Wed Dec 8 20:57:41 UTC 2021


On Tue, Dec 07, 2021 at 04:34:42PM +0100, Michal Privoznik wrote:
>When using the monolithic daemon the driver for virStream is
>always virFDStreamDrv and thus calling virStreamInData() results
>in calling virFDStreamInData().
>
>But things are different with split daemon, especially when a
>client connects to one of hypervisor daemons (e.g. virtqemud) and
>then lets the daemon connect to the storage daemon for
>vol-upload/vol-download. Here, the hypervisor daemon acts like
>both client and server. This is reflected by stream->driver
>pointing to remoteStreamDrv, which doesn't have streamInData
>callback implemented and thus vol-upload/vol-download with sparse
>flag fails.
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2026537
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211208/84b0b9fb/attachment-0001.sig>


More information about the libvir-list mailing list