On 11/6/25 17:26, Praveen K Paladugu wrote:
Use the new 'query-accelerators' QMP command to query accelerators enabled in QEMU.
v3: - Addressed all the pending feedback from v2 - Broke up the patch into 2 separate commits
Praveen K Paladugu (2): qemu: Introduce query-accelerators cap qemu: Use query-accelerators to query accelerators
src/qemu/qemu_capabilities.c | 40 ++++++++++++++++--- src/qemu/qemu_capabilities.h | 1 + src/qemu/qemu_monitor.c | 9 +++++ src/qemu/qemu_monitor.h | 4 ++ src/qemu/qemu_monitor_json.c | 23 +++++++++++ src/qemu/qemu_monitor_json.h | 5 +++ .../caps_10.2.0_x86_64.replies | 11 +++-- .../caps_10.2.0_x86_64.xml | 1 + 8 files changed, 86 insertions(+), 8 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn@redhat.com> and merged. Michal