mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemu_capabilities: add "query-stats" QMP command to the QEMU capabilities
Related: https://gitlab.com/libvirt/libvirt/-/issues/276 Signed-off-by: Amneesh Singh <natto@weirdnatto.in> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
3b265520f1
commit
ceaa74dfe0
@ -673,6 +673,9 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"iothread.thread-pool-max", /* QEMU_CAPS_IOTHREAD_THREAD_POOL_MAX */
|
||||
"usb-host.guest-resets-all", /* QEMU_CAPS_USB_HOST_GUESTS_RESETS_ALL */
|
||||
"migration.blocked-reasons", /* QEMU_CAPS_MIGRATION_BLOCKED_REASONS */
|
||||
|
||||
/* 435 */
|
||||
"query-stats", /* QEMU_CAPS_QUERY_STATS */
|
||||
);
|
||||
|
||||
|
||||
@ -1223,6 +1226,7 @@ struct virQEMUCapsStringFlags virQEMUCapsCommands[] = {
|
||||
{ "query-dirty-rate", QEMU_CAPS_QUERY_DIRTY_RATE },
|
||||
{ "sev-inject-launch-secret", QEMU_CAPS_SEV_INJECT_LAUNCH_SECRET },
|
||||
{ "calc-dirty-rate", QEMU_CAPS_CALC_DIRTY_RATE },
|
||||
{ "query-stats", QEMU_CAPS_QUERY_STATS },
|
||||
};
|
||||
|
||||
struct virQEMUCapsStringFlags virQEMUCapsMigration[] = {
|
||||
|
@ -653,6 +653,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_USB_HOST_GUESTS_RESETS_ALL, /* -device usb-host.guest-resets-all */
|
||||
QEMU_CAPS_MIGRATION_BLOCKED_REASONS, /* query-migrate returns 'blocked-reasons */
|
||||
|
||||
/* 435 */
|
||||
QEMU_CAPS_QUERY_STATS, /* accepts query-stats */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
||||
|
@ -225,6 +225,7 @@
|
||||
<flag name='iothread.thread-pool-max'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='migration.blocked-reasons'/>
|
||||
<flag name='query-stats'/>
|
||||
<version>7000050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100244</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user