Re: [Libvir] PATCH: Pull generic I/O apis out of QEMU driver

2007-12-03 Thread Daniel P. Berrange
On Mon, Dec 03, 2007 at 04:13:27PM +, Richard W.M. Jones wrote: > This breaks builds on Windows. The attached patch fixes it. Sure, add it. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/

Re: [Libvir] PATCH: Pull generic I/O apis out of QEMU driver

2007-12-03 Thread Richard W.M. Jones
This breaks builds on Windows. The attached patch fixes it. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Com

Re: [Libvir] PATCH: Pull generic I/O apis out of QEMU driver

2007-12-03 Thread Daniel Veillard
On Sun, Dec 02, 2007 at 06:53:53PM +, Daniel P. Berrange wrote: > The QEMU driver has a number of handy APIs which I want to use from the > storage driver: > > - Read entire file in one go > - Check filename suffix > - Compare filename against name + suffix > - Check link destination > -

[Libvir] PATCH: Pull generic I/O apis out of QEMU driver

2007-12-02 Thread Daniel P. Berrange
The QEMU driver has a number of handy APIs which I want to use from the storage driver: - Read entire file in one go - Check filename suffix - Compare filename against name + suffix - Check link destination - Construct a filename from dir, name + suffix - Recursively make a directory This p