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=97c6a506cc6dda7b...
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 :|