]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Read binary stats header in lib
authorBen Gardon <bgardon@google.com>
Mon, 13 Jun 2022 21:25:15 +0000 (21:25 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 08:51:43 +0000 (04:51 -0400)
commitd835a461637d0dd3c47a6e68d65d14019abf9945
tree07a55095af6bf355454d5702d8116d507a0e78c5
parent03936270273f207f2d61fa3a3828fd6cd704bd2d
KVM: selftests: Read binary stats header in lib

Move the code to read the binary stats header to the KVM selftests
library. It will be re-used by other tests to check KVM behavior.

No functional change intended.

Reviewed-by: David Matlack <dmatlack@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20220613212523.3436117-3-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/kvm_util_base.h
tools/testing/selftests/kvm/kvm_binary_stats_test.c