]> Git Repo - linux.git/commit
KVM: stats: Fix value for KVM_STATS_UNIT_MAX for boolean stats
authorOliver Upton <[email protected]>
Tue, 19 Jul 2022 12:52:29 +0000 (12:52 +0000)
committerPaolo Bonzini <[email protected]>
Tue, 19 Jul 2022 12:54:11 +0000 (08:54 -0400)
commit450a563924ae9437758bd468c5b7cee9468ce749
treedc44d589445396f5856b6da5397ffe0283c9b970
parent79629181607e801c0b41b8790ac4ee2eb5d7bc3e
KVM: stats: Fix value for KVM_STATS_UNIT_MAX for boolean stats

commit 1b870fa5573e ("kvm: stats: tell userspace which values are
boolean") added a new stat unit (boolean) but failed to raise
KVM_STATS_UNIT_MAX.

Fix by pointing UNIT_MAX at the new max value of UNIT_BOOLEAN.

Fixes: 1b870fa5573e ("kvm: stats: tell userspace which values are boolean")
Reported-by: Janis Schoetterl-Glausch <[email protected]>
Signed-off-by: Oliver Upton <[email protected]>
Message-Id: <20220719125229.2934273[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Documentation/virt/kvm/api.rst
include/uapi/linux/kvm.h
This page took 0.0673 seconds and 4 git commands to generate.