
On Mon, Apr 19, 2021 at 02:35:04PM +0200, Peter Krempa wrote:
May 7, 2021 is the 2nd anniversary of release of rhel-8, which means we no longer have to support qemu-1.5.
Remove the capabilities and test data for the versions we no longer care about and clean up some capabilities related stuff:
- remove code for QEMU_CAPS_DEVICE_VIDEO_PRIMARY - remove checking for QEMU_CAPS_QUERY_QMP_SCHEMA since all versions now support it
This is also a good opportunity to clean up few things regarding the capabilties test data, namely call 'query-qmp-schema' before 'query-commands' to prepare to retire query-commands.
This series is heavily truncated since there were massive (27MiB) patches resulting from some of the mechanical (and generated) changes and also depends on my previous command line wrapping cleanup. Fetch the full version at:
git fetch https://gitlab.com/pipo.sk/libvirt.git qemu-deprec-3
The massive move of 'query-qmp-schema' query and reply before the 'query-commands' invocation in patch 30 was done using a tool based on pieces of our code which I've uploaded to:
https://gitlab.com/pipo.sk/libvirt/-/commits/qemu-capabilities-tool
rfc->v1: - pushed ACKed cleanup patches which weren't bound to this series - reworded the news addition as requested - squashed removal of test files to patches dropping the tests - cleaned up the rest of always-asserted capabilities (patches 31-38)
Patch 2/38 needs to be adjusted once libvirt-7.3 is out.
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>