qapi/accel: Allow to query mshv capabilities

Allow to query mshv capabilities via query-mshv QMP and info mshv HMP commands.

Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Acked-by: Dr. David Alan Gilbert <dave@treblig.org>
Link: https://lore.kernel.org/r/20250916164847.77883-25-magnuskulke@linux.microsoft.com
[Fix "since" version. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Praveen K Paladugu 2025-09-16 18:48:44 +02:00 committed by Paolo Bonzini
parent efc4093358
commit e7b08dfb90
6 changed files with 73 additions and 0 deletions

View file

@ -307,6 +307,19 @@ SRST
Show KVM information.
ERST
{
.name = "mshv",
.args_type = "",
.params = "",
.help = "show MSHV information",
.cmd = hmp_info_mshv,
},
SRST
``info mshv``
Show MSHV information.
ERST
{
.name = "numa",
.args_type = "",