Re: [Libvir] PATCH: 10/16: general purpose helper APIs

2008-02-19 Thread Daniel P. Berrange
On Tue, Feb 12, 2008 at 04:37:08AM +, Daniel P. Berrange wrote: > This patch provides a couple of helper APIs used by the forthcoming > driver backends. > >- virStorageBackendUpdateVolInfo - take a filename and virStorageVolPtr > and update the capacity/allocation information based on

Re: [Libvir] PATCH: 10/16: general purpose helper APIs

2008-02-18 Thread Daniel Veillard
On Mon, Feb 18, 2008 at 03:45:52PM +, Daniel P. Berrange wrote: > On Mon, Feb 18, 2008 at 10:36:06AM -0500, Daniel Veillard wrote: > > On Tue, Feb 12, 2008 at 04:37:08AM +, Daniel P. Berrange wrote: > > > > > > The SELinux code is optional, and can be replaced with calls to any other > > >

Re: [Libvir] PATCH: 10/16: general purpose helper APIs

2008-02-18 Thread Daniel P. Berrange
On Mon, Feb 18, 2008 at 10:36:06AM -0500, Daniel Veillard wrote: > On Tue, Feb 12, 2008 at 04:37:08AM +, Daniel P. Berrange wrote: > > > > The SELinux code is optional, and can be replaced with calls to any other > > library which can provide MAC file labels, or just disabled completely.. > [.

Re: [Libvir] PATCH: 10/16: general purpose helper APIs

2008-02-18 Thread Daniel Veillard
On Tue, Feb 12, 2008 at 04:37:08AM +, Daniel P. Berrange wrote: > This patch provides a couple of helper APIs used by the forthcoming > driver backends. > >- virStorageBackendUpdateVolInfo - take a filename and virStorageVolPtr > and update the capacity/allocation information based on

Re: [Libvir] PATCH: 10/16: general purpose helper APIs

2008-02-15 Thread Jim Meyering
"Daniel P. Berrange" <[EMAIL PROTECTED]> wrote: > This patch provides a couple of helper APIs used by the forthcoming > driver backends. > >- virStorageBackendUpdateVolInfo - take a filename and virStorageVolPtr > and update the capacity/allocation information based on the file > stat

Re: [Libvir] PATCH: 10/16: general purpose helper APIs

2008-02-11 Thread Daniel P. Berrange
This patch provides a couple of helper APIs used by the forthcoming driver backends. - virStorageBackendUpdateVolInfo - take a filename and virStorageVolPtr and update the capacity/allocation information based on the file stat() results. Also update the permissions data on owner/mode