v2 got:
Reviewed-by: Ján Tomko <[email protected]>
but I've made the following changes so I'm sending it out for review
once again:
- rebased on top of Laine's API
- added a typed parameter argument for future expansion
- added documentation for the XML
Patches 1/8 and 8/8 are new in the series. The rest is v3 of the last
posting with aforementioned changes and rebase.
Peter Krempa (8):
qemu: driver: Fix coding style after 'qemuDomainAnnounceInterface'
API: Introduce 'virConnectGetIntrospection'
virsh: Introduce 'introspection' command which uses
'virConnectGetIntrospection'
scripts: Introduce 'getintrospection' script
qemu: Implement 'virConnectGetIntrospection'
introspection: Add introspection of input typed parameters
virsh: blockresize: Use VIR_DOMAIN_BLOCK_RESIZE_EXTEND when available
and introduce --allow-shrink
docs: Add documentation for introspection XML
docs/docs.rst | 1 +
docs/formatintrospection.rst | 90 +++++++++
docs/manpages/virsh.rst | 30 ++-
docs/meson.build | 1 +
include/libvirt/libvirt-host.h | 5 +
scripts/genintrospection.py | 345 +++++++++++++++++++++++++++++++++
scripts/meson.build | 1 +
src/driver-hypervisor.h | 7 +
src/libvirt-host.c | 48 +++++
src/libvirt_private.syms | 5 +
src/libvirt_public.syms | 1 +
src/qemu/meson.build | 18 ++
src/qemu/qemu_driver.c | 29 ++-
src/remote/remote_driver.c | 1 +
src/remote/remote_protocol.x | 21 +-
src/remote_protocol-structs | 11 ++
src/rpc/gendispatch.pl | 4 +-
src/util/meson.build | 1 +
src/util/virintrospection.c | 82 ++++++++
src/util/virintrospection.h | 20 ++
tools/virsh-domain.c | 59 ++++++
tools/virsh-host.c | 43 ++++
22 files changed, 817 insertions(+), 6 deletions(-)
create mode 100644 docs/formatintrospection.rst
create mode 100755 scripts/genintrospection.py
create mode 100644 src/util/virintrospection.c
create mode 100644 src/util/virintrospection.h
--
2.54.0