qemu-cr16/include/monitor
Paolo Bonzini 71d5babbd6 monitor: generalize query-mshv/"info mshv" to query-accelerators/"info accelerators"
The recently-introduced query-mshv command is a duplicate of query-kvm,
and neither provides a full view of which accelerators are supported
by a particular binary of QEMU and which is in use.

KVM was the first accelerator added to QEMU, predating QOM and TYPE_ACCEL,
so it got a pass.  But now, instead of adding a badly designed copy, solve
the problem completely for all accelerators with a command that provides
the whole picture:

    >> {"execute": "query-accelerators"}
    << {"return": {"enabled": "tcg", "present": ["kvm", "mshv", "qtest", "tcg", "xen"]}}

Cc: Praveen K Paladugu <prapal@microsoft.com>
Cc: Magnus Kulke <magnuskulke@linux.microsoft.com>
Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-10-14 11:03:59 +02:00
..
hmp-target.h monitor: remove MonitorDef from typedefs.h 2024-05-03 15:47:48 +02:00
hmp.h monitor: generalize query-mshv/"info mshv" to query-accelerators/"info accelerators" 2025-10-14 11:03:59 +02:00
monitor.h monitor: Report errors from monitor_fdset_dup_fd_add 2024-06-21 09:47:21 -03:00
qdev.h qdev: Base object creation on QDict rather than QemuOpts 2021-10-15 16:11:22 +02:00
qmp-helpers.h char: Factor out qmp_add_client() parts and move to chardev/ 2023-02-04 07:56:54 +01:00