summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYanan Wang <wangyanan55@huawei.com>2021-03-30 11:08:51 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-20 11:18:52 +0300
commit6436430e29fb250c140c94a8fcc218a832dcaf74 (patch)
tree3681c8867705cb7e6e6bd55ba28ce715fa06aaf3 /tools/perf/scripts/python
parentc412d6ac28ac55505c5b079e259caddd9f55d293 (diff)
downloadlinux-6436430e29fb250c140c94a8fcc218a832dcaf74.tar.xz
KVM: selftests: Make a generic helper to get vm guest mode strings
For generality and conciseness, make an API which can be used in all kvm libs and selftests to get vm guest mode strings. And the index i is checked in the API in case of possiable faults. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Yanan Wang <wangyanan55@huawei.com> Reviewed-by: Ben Gardon <bgardon@google.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Message-Id: <20210330080856.14940-6-wangyanan55@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions