monitor: add support for boolean statistics
commit1ca1a7ec3637bc19818eab8085cbbe273217ad68
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2022 12:08:09 +0000 (14 14:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Jul 2022 16:51:17 +0000 (18 18:51 +0200)
tree7f75de33538fb46f235fecf7064da29b30bef5a8
parent0ebf76aae58324b8f7bf6af798696687f5f4c2a9
monitor: add support for boolean statistics

The next version of Linux will introduce boolean statistics, which
can only have 0 or 1 values.  Support them in the schema and in
the HMP command.

Suggested-by: Amneesh Singh <natto@weirdnatto.in>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
monitor/hmp-cmds.c
qapi/stats.json