]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Add selftest for KVM statistics data binary interface
authorJing Zhang <jingzhangos@google.com>
Fri, 18 Jun 2021 22:27:08 +0000 (22:27 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:26 +0000 (18:00 -0400)
commit3bd4f815ba548aba84b880fe504024e14bb588ec
treec6a0e2d8fc20802e634ba6f4556fa271954bd73e
parent6471dd14ec0d040bfc1530b9acf224412f40adad
KVM: selftests: Add selftest for KVM statistics data binary interface

Add selftest to check KVM stats descriptors validity.

Reviewed-by: David Matlack <dmatlack@google.com>
Reviewed-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Tested-by: Fuad Tabba <tabba@google.com> #arm64
Signed-off-by: Jing Zhang <jingzhangos@google.com>
Message-Id: <20210618222709.1858088-7-jingzhangos@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/kvm_binary_stats_test.c [new file with mode: 0644]
tools/testing/selftests/kvm/lib/kvm_util.c