]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Introduce domain_capabilities
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Jun 2014 11:24:53 +0000 (13:24 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Jul 2014 10:22:37 +0000 (12:22 +0200)
commit614581f32ba14311b06821e6f8279d431a6ca840
tree053a8ca51a5136842e3009657c0a4a4484c8411f
parent15a855ef79773e0d816f7cfab4878b38f27f1a5f
Introduce domain_capabilities

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@redhat.com>
16 files changed:
docs/formatdomaincaps.html.in [new file with mode: 0644]
docs/schemas/Makefile.am
docs/schemas/domaincaps.rng [new file with mode: 0644]
docs/sitemap.html.in
libvirt.spec.in
mingw-libvirt.spec.in
po/POTFILES.in
src/Makefile.am
src/conf/domain_capabilities.c [new file with mode: 0644]
src/conf/domain_capabilities.h [new file with mode: 0644]
src/libvirt_private.syms
tests/Makefile.am
tests/domaincapsschemadata/domaincaps-basic.xml [new file with mode: 0644]
tests/domaincapsschemadata/domaincaps-full.xml [new file with mode: 0644]
tests/domaincapsschematest [new file with mode: 0755]
tests/domaincapstest.c [new file with mode: 0644]