Created attachment 854371 [details] Fix caller to match callee prototype I don't see a libvirt-python component, so filing this under libvirt. Description of problem: Version-Release number of selected component (if applicable): git master: de8361627c4f3fa2a1f8dd164ef80c5f0a6a17f6 How reproducible: 100% Steps to Reproduce: 0. Assuming you start with a volume pool defined called 'default' with no volumes defined in it. 1. virsh vol-create-as default foo 1048576 --format raw 2. In Python: conn = libvirt.open('qemu:///system') pool = libvirt_conn.storagePoolLookupByName('default') vol = pool.storageVolLookupByName('foo') stream = conn.newStream(0) vol.upload(stream, 0, 1048576, 0) stream.send('A' * 65536) Actual results: libvirt.libvirtError: virStreamSend() failed Expected results: Silent success. Additional info: Impact: stops the Python binding from being able to upload volumes to libvirt completely. Regression caused by commit d40861. Patch attached.
https://www.redhat.com/archives/libvir-list/2014-January/msg01113.html
Changing component, since bz admins have created libvirt-python now