Re: [libvirt] [PATCH 03/11] Refactor virStorageFileGetMetadataFromFD to separate functionality

2010-07-15 Thread Daniel Veillard
On Mon, Jul 12, 2010 at 02:30:40PM +0100, Daniel P. Berrange wrote: > The virStorageFileGetMetadataFromFD did two jobs in one. First > it probed for storage type, then it extracted metadata for the > type. It is desirable to be able to separate these jobs, allowing > probing without querying metada

[libvirt] [PATCH 03/11] Refactor virStorageFileGetMetadataFromFD to separate functionality

2010-07-12 Thread Daniel P. Berrange
The virStorageFileGetMetadataFromFD did two jobs in one. First it probed for storage type, then it extracted metadata for the type. It is desirable to be able to separate these jobs, allowing probing without querying metadata, and querying metadata without probing. To prepare for this, split out p