kvm: add support for boolean statistics
commit105bb7cdbe9b60129034410e228535f5ea5648ea
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2022 12:10:22 +0000 (14 14:10 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Jul 2022 16:51:32 +0000 (18 18:51 +0200)
tree584fcf5294f659e0d582d6764e2ffe5bb1958a43
parent1ca1a7ec3637bc19818eab8085cbbe273217ad68
kvm: add support for boolean statistics

The next version of Linux will introduce boolean statistics, which
can only have 0 or 1 values.  Convert them to the new QAPI fields
added in the previous commit.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
linux-headers/linux/kvm.h