search for: iohelp

Displaying 12 results from an estimated 12 matches for "iohelp".

Did you mean: i_help
2015 Aug 16
0
who is the end user of libvirt-iohelper?
Hello everybody! I'm trying to make some experiments with writing/reading stream to/from volume. I've realized that libvirt-iohelper are ran to make this operations: 1) reading stream from stdin and writng to a file 2) reading stream from a file and writing to stdout I've also realized that virsh uses libvirt-iohelper via virStorageVolUpload/virStorageVolDownload. But i can't find the place where virsh works with stdin...
2016 Apr 25
2
Re: stream finish throws exception via python API
...age sucks, I'll send patches to improve it a little at least. What's happening here is that the you haven't read all the data you requested (it's vol.download(path, offset, length, flags), length == 0 means read the whole file which I suspect you haven't done). In this case the iohelper program that libvirt uses won't complete feeding us all the data, and it exits with SIGPIPE when we close the read end of the pipe. Now whether that should actually be an error condition is open to debate. virStreamFinish docs make it sound like it's legitimate to throw an error if it ap...
2016 Apr 26
2
Re: stream finish throws exception via python API
...ove it a little at least. > > > > What's happening here is that the you haven't read all the data you requested > > (it's vol.download(path, offset, length, flags), length == 0 means read the > > whole file which I suspect you haven't done). In this case the iohelper > > program that libvirt uses won't complete feeding us all the data, and it exits > > with SIGPIPE when we close the read end of the pipe. > > > > Now whether that should actually be an error condition is open to debate. > > virStreamFinish docs make it sound l...
2016 Apr 26
2
Re: stream finish throws exception via python API
...gt;>>> >>>> What's happening here is that the you haven't read all the data you requested >>>> (it's vol.download(path, offset, length, flags), length == 0 means read the >>>> whole file which I suspect you haven't done). In this case the iohelper >>>> program that libvirt uses won't complete feeding us all the data, and it exits >>>> with SIGPIPE when we close the read end of the pipe. >>>> >>>> Now whether that should actually be an error condition is open to debate. >>>> vi...
2016 Apr 26
2
Re: stream finish throws exception via python API
...>>>> What's happening here is that the you haven't read all the data you requested >>>>>> (it's vol.download(path, offset, length, flags), length == 0 means read the >>>>>> whole file which I suspect you haven't done). In this case the iohelper >>>>>> program that libvirt uses won't complete feeding us all the data, and it exits >>>>>> with SIGPIPE when we close the read end of the pipe. >>>>>> >>>>>> Now whether that should actually be an error condition is ope...
2016 Apr 26
0
Re: stream finish throws exception via python API
...send patches to improve it a little at least. > > What's happening here is that the you haven't read all the data you requested > (it's vol.download(path, offset, length, flags), length == 0 means read the > whole file which I suspect you haven't done). In this case the iohelper > program that libvirt uses won't complete feeding us all the data, and it exits > with SIGPIPE when we close the read end of the pipe. > > Now whether that should actually be an error condition is open to debate. > virStreamFinish docs make it sound like it's legitimate t...
2012 Apr 10
0
Libvirt-0.9.11 compilation on Centos 5.6
...followed following procedure to compile the libvirt library. 1. ./autogen.sh --system --with-xen 2. make While running "make", I am receiving following errors : ------------------------------------------------------------------------------------------------------------- CC libvirt_iohelper-iohelper.o CCLD libvirt_iohelper CC libvirt_parthelper-parthelper.o CCLD libvirt_parthelper libvirt_parthelper-parthelper.o: In function `main': /root/Downloads/libvirt-0.9.11/src/storage/parthelper.c:103: undefined reference to `ped_device_get' /root/Downloads/libvirt-0.9.1...
2016 Apr 26
0
Re: stream finish throws exception via python API
...east. > > > > > > What's happening here is that the you haven't read all the data you requested > > > (it's vol.download(path, offset, length, flags), length == 0 means read the > > > whole file which I suspect you haven't done). In this case the iohelper > > > program that libvirt uses won't complete feeding us all the data, and it exits > > > with SIGPIPE when we close the read end of the pipe. > > > > > > Now whether that should actually be an error condition is open to debate. > > > virStreamFi...
2016 Apr 27
0
Re: stream finish throws exception via python API
...t;> What's happening here is that the you haven't read all the data you requested > >>>>>> (it's vol.download(path, offset, length, flags), length == 0 means read the > >>>>>> whole file which I suspect you haven't done). In this case the iohelper > >>>>>> program that libvirt uses won't complete feeding us all the data, and it exits > >>>>>> with SIGPIPE when we close the read end of the pipe. > >>>>>> > >>>>>> Now whether that should actually be an er...
2016 Apr 17
2
stream finish throws exception via python API
Hi, The following snippet works fine e.g. receiving the data but when calling stream.finish() we get the following error: stream = con.newStream() vol.download(stream, 0, 0, 0) buf = stream.recv(1024) stream.finish() libvirt: I/O Stream Utils error : internal error: I/O helper exited abnormally Traceback (most recent call last): File "./helpers/kvm2ovirt", line 149, in <module>
2016 Apr 26
0
Re: stream finish throws exception via python API
...gt; >>>>> What's happening here is that the you haven't read all the data you requested >>>>> (it's vol.download(path, offset, length, flags), length == 0 means read the >>>>> whole file which I suspect you haven't done). In this case the iohelper >>>>> program that libvirt uses won't complete feeding us all the data, and it exits >>>>> with SIGPIPE when we close the read end of the pipe. >>>>> >>>>> Now whether that should actually be an error condition is open to debate. &gt...
2011 Apr 04
0
Release of libvirt-0.9.0
...ault NAT subnet (Eric Blake) - formatdomain: Add release info for disk <driver> attributes (Cole Robinson) - Fix spelling mistake: seek (Philipp Hahn) - maint: fix grammar in error message (Eric Blake) Portability: - virsh: fix mingw failure on creating nonblocking pipe (Eric Blake) - Remove iohelper on Win32 since it is not required (Daniel P. Berrange) - Fix domain events C example on Win32 (Daniel P. Berrange) - build: fix compilation on mingw (Eric Blake) - util: use SCM_RIGHTS in virFileOperation when needed (Eric Blake) - Don't use INT64_MAX in libvirt.h because it requires stdint.h...