[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [libvirt-glib 03/10] Add GObject boilerplate for GVirConfigStorage*



On Tue, Dec 06, 2011 at 04:00:52PM +0100, Christophe Fergeau wrote:
> We'll need several helper classes to implement configuration of
> storage pools and volumes. This commit introduces all of these
> in one go. It's just the GObject boilerplate, the actual code will
> come in other commits. GVirConfigStoragePermissions is namespaced this
> way because it will be used by both GVirConfigStoragePoolTarget and
> GVirConfigStorageVolTarget.
> ---
>  libvirt-gconfig/Makefile.am                        |   12 +++-
>  .../libvirt-gconfig-storage-permissions.c          |   70 +++++++++++++++++++
>  .../libvirt-gconfig-storage-permissions.h          |   68 ++++++++++++++++++
>  .../libvirt-gconfig-storage-pool-source.c          |   72 ++++++++++++++++++++
>  .../libvirt-gconfig-storage-pool-source.h          |   68 ++++++++++++++++++
>  .../libvirt-gconfig-storage-pool-target.c          |   72 ++++++++++++++++++++
>  .../libvirt-gconfig-storage-pool-target.h          |   68 ++++++++++++++++++
>  .../libvirt-gconfig-storage-vol-backing-store.c    |   72 ++++++++++++++++++++
>  .../libvirt-gconfig-storage-vol-backing-store.h    |   68 ++++++++++++++++++
>  .../libvirt-gconfig-storage-vol-target.c           |   72 ++++++++++++++++++++
>  .../libvirt-gconfig-storage-vol-target.h           |   68 ++++++++++++++++++

The storage volume <backingStore> element is really a subset of the
storage volume <target> element schema, so there is perhaps value
in having a shared parent class between them


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]