[Libvir] PATCH: 1/16: public API
Daniel P. Berrange
berrange at redhat.com
Wed Feb 20 16:39:31 UTC 2008
On Wed, Feb 20, 2008 at 04:10:30PM +0000, Daniel P. Berrange wrote:
> On Wed, Feb 20, 2008 at 02:52:54AM -0500, Daniel Veillard wrote:
> > On Wed, Feb 20, 2008 at 04:00:39AM +0000, Daniel P. Berrange wrote:
> > > On Tue, Feb 12, 2008 at 04:30:07AM +0000, Daniel P. Berrange wrote:
> > > > This defines the public API for the storage pool and volume support.
> > > > The naming of the APIs follows the example set by the network and
> > > > domain APIs whereever the logical functions match. The main change
> > > > since previous iterations is the addition of an explicit API for
> > > > virStoragePoolBuild and virStoragePoolDelete, to allow formatting
> > > > of the underlying storage, and permanent deletion. Many of the APIs
> > > > also now have an 'unsigned int flags' param. It is also possible to
> > > > lookup a volume directly based on its path or key without having the
> > > > associated pool object ahead of time.
> > >
> > >
> > > include/libvirt/libvirt.h | 195 +++++++++++++++++++++++++++++++++++++++++++
> > > include/libvirt/libvirt.h.in | 195 +++++++++++++++++++++++++++++++++++++++++++
> > > src/libvirt_sym.version | 45 +++++++++
> > > 3 files changed, 435 insertions(+)
> >
> > API looks fine to me, I guess all parts have been reviewed,
> > at this point the best we can do is push it to CVS with the proposed
> > changes, and start to get people to use it. If needed we can state
> > that that the storage APIs are in beta in the next release(s) and
> > will be consideered frozen in 0.5.0 within a couple of months.
> >
> > So let's push this !
>
> All committed. Now to find out what I broke :-) It passes an automated
> build on Fedora 8, including syntax-check. We may need tweaks for other
> platforms as we test it...
I've tested it also at least builds correctly on RHEL-5 and Fedora 9 too
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the libvir-list
mailing list