[libvirt] [PATCH for 1.2.7 1/8] Introduce domain_capabilities

Daniel P. Berrange berrange at redhat.com
Wed Jul 2 14:28:09 UTC 2014


On Mon, Jun 30, 2014 at 05:31:44PM +0200, Michal Privoznik wrote:
> This new module holds and formats capabilities for emulator. If you
> are about to create a new domain, you may want to know what is the
> host or hypervisor capable of. To make sure we don't regress on the
> XML, the formatting is not something left for each driver to
> implement, rather there's general format function.
> 
> The domain capabilities is a lockable object (even though the locking
> is not necessary yet) which uses reference counter.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  docs/formatdomaincaps.html.in                   | 200 +++++++++++++++++++
>  docs/schemas/Makefile.am                        |   1 +
>  docs/schemas/domaincaps.rng                     |  90 +++++++++
>  docs/sitemap.html.in                            |   4 +
>  libvirt.spec.in                                 |   1 +
>  mingw-libvirt.spec.in                           |   2 +
>  po/POTFILES.in                                  |   1 +
>  src/Makefile.am                                 |   1 +
>  src/conf/domain_capabilities.c                  | 254 ++++++++++++++++++++++++
>  src/conf/domain_capabilities.h                  | 103 ++++++++++
>  src/libvirt_private.syms                        |   7 +
>  tests/Makefile.am                               |   8 +
>  tests/domaincapsschemadata/domaincaps-basic.xml |  10 +
>  tests/domaincapsschemadata/domaincaps-full.xml  |  56 ++++++
>  tests/domaincapsschematest                      |  11 +
>  tests/domaincapstest.c                          | 149 ++++++++++++++
>  16 files changed, 898 insertions(+)
>  create mode 100644 docs/formatdomaincaps.html.in
>  create mode 100644 docs/schemas/domaincaps.rng
>  create mode 100644 src/conf/domain_capabilities.c
>  create mode 100644 src/conf/domain_capabilities.h
>  create mode 100644 tests/domaincapsschemadata/domaincaps-basic.xml
>  create mode 100644 tests/domaincapsschemadata/domaincaps-full.xml
>  create mode 100755 tests/domaincapsschematest
>  create mode 100644 tests/domaincapstest.c


ACK

Regards,
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 :|




More information about the libvir-list mailing list