]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Enhance the streams helper to support plain file I/O
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 22 Feb 2011 12:05:20 +0000 (12:05 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 29 Mar 2011 11:17:28 +0000 (12:17 +0100)
commite886237af5df963a07cb7c03119b4eaea540f0e9
tree3c770a4d399111f09c3a113be87bc0c6b4196a4f
parent0c97e70b74434b4baca9bbfc19c14bf7ff2ef304
Enhance the streams helper to support plain file I/O

The O_NONBLOCK flag doesn't work as desired on plain files
or block devices. Introduce an I/O helper program that does
the blocking I/O operations, communicating over a pipe that
can support O_NONBLOCK

* src/fdstream.c, src/fdstream.h: Add non-blocking I/O
  on plain files/block devices
* src/Makefile.am, src/util/iohelper.c: I/O helper program
* src/qemu/qemu_driver.c, src/lxc/lxc_driver.c,
  src/uml/uml_driver.c, src/xen/xen_driver.c: Update for
  streams API change
po/POTFILES.in
src/Makefile.am
src/fdstream.c
src/fdstream.h
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c
src/uml/uml_driver.c
src/util/iohelper.c [new file with mode: 0644]
src/xen/xen_driver.c