After my RFC round, here are the actual patches.
Michal Privoznik (8):
Introduce domain_capabilities
Introduce virConnectGetDomainCapabilities
virsh: expose virConnectGetDomainCapabilities
tests: Move qemu caps XML parsing into shared unit
qemu_capabilities: Introduce virQEMUCapsCacheLookupByArch
qemu_capabilities: Introduce virQEMUCapsIsMachineSupported
qemu_capabilities: Introduce virQEMUCapsGetDefaultMachine
qemu: Implement virConnectGetDomainCapabilities
docs/formatdomaincaps.html.in | 200 ++++++++++++++++
docs/schemas/Makefile.am | 1 +
docs/schemas/domaincaps.rng | 90 ++++++++
docs/sitemap.html.in | 4 +
include/libvirt/libvirt.h.in | 7 +
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/driver.h | 9 +
src/libvirt.c | 52 +++++
src/libvirt_private.syms | 8 +
src/libvirt_public.syms | 5 +
src/qemu/qemu_capabilities.c | 146 ++++++++++++
src/qemu/qemu_capabilities.h | 11 +
src/qemu/qemu_driver.c | 101 ++++++++
src/remote/remote_driver.c | 1 +
src/remote/remote_protocol.x | 19 +-
src/remote_protocol-structs | 11 +
tests/Makefile.am | 13 ++
tests/domaincapsschemadata/domaincaps-basic.xml | 10 +
tests/domaincapsschemadata/domaincaps-full.xml | 56 +++++
.../domaincaps-qemu_1.6.50-1.xml | 44 ++++
tests/domaincapsschematest | 11 +
tests/domaincapstest.c | 194 ++++++++++++++++
tests/qemucapabilitiestest.c | 57 +----
tests/testutilsqemu.c | 49 ++++
tests/testutilsqemu.h | 3 +
tools/virsh-host.c | 84 +++++++
tools/virsh.pod | 16 ++
32 files changed, 1509 insertions(+), 55 deletions(-)
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 100644 tests/domaincapsschemadata/domaincaps-qemu_1.6.50-1.xml
create mode 100755 tests/domaincapsschematest
create mode 100644 tests/domaincapstest.c
--
1.8.5.5