Re: [libvirt] [PATCH 1/2] util: Generalize virFileDirectFd

2012-02-07 Thread Jiri Denemark
On Mon, Feb 06, 2012 at 15:42:43 -0700, Eric Blake wrote: On 02/06/2012 07:51 AM, Jiri Denemark wrote: virFileDirectFd was used for accessing files opened with O_DIRECT using libvirt_iohelper. We will want to use the helper for accessing files regardless on O_DIRECT and thus virFileDirectFd

[libvirt] [PATCH 1/2] util: Generalize virFileDirectFd

2012-02-06 Thread Jiri Denemark
virFileDirectFd was used for accessing files opened with O_DIRECT using libvirt_iohelper. We will want to use the helper for accessing files regardless on O_DIRECT and thus virFileDirectFd was generalized and renamed to virFileWrapperFd. --- src/qemu/qemu_driver.c | 42 +++-

Re: [libvirt] [PATCH 1/2] util: Generalize virFileDirectFd

2012-02-06 Thread Eric Blake
On 02/06/2012 07:51 AM, Jiri Denemark wrote: virFileDirectFd was used for accessing files opened with O_DIRECT using libvirt_iohelper. We will want to use the helper for accessing files regardless on O_DIRECT and thus virFileDirectFd was generalized and renamed to virFileWrapperFd. ---