[libvirt] [PATCH 0/3] Fix stream upload in new RPC code
Daniel P. Berrange
berrange at redhat.com
Thu Jun 30 11:38:56 UTC 2011
On Thu, Jun 30, 2011 at 12:29:48PM +0100, Daniel P. Berrange wrote:
> These patches do three small fixes to the RPC code in libvirtd
> to make sure stream upload works correctly again
FYI, this was discovered & validated using 6 test scripts I just added
to the TCK to cover the different ways you can use the stream APIs:
- Incremental writes of data to upload in blocking mode
- Callback to pull data to upload in blocking mode
- Event driven non-blocking writes of data to upload
- Incremental reads of data to download in blocking mode
- Callback to consume data to download in blocking mode
- Event driven non-blocking reads of data to upload
These streams tests are conveniently done using the recentish
virStorageVolUpload/Download APIs.
http://libvirt.org/git/?p=libvirt-tck.git;a=commitdiff;h=97c6a506cc6dda7bbedafa13344db373bc2cb499
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list