diff options
| author | Yanan Wang <[email protected]> | 2021-03-30 16:08:51 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-04-20 04:18:52 -0400 |
| commit | 6436430e29fb250c140c94a8fcc218a832dcaf74 (patch) | |
| tree | 3681c8867705cb7e6e6bd55ba28ce715fa06aaf3 /tools/perf/scripts/python | |
| parent | c412d6ac28ac55505c5b079e259caddd9f55d293 (diff) | |
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 <[email protected]>
Signed-off-by: Yanan Wang <[email protected]>
Reviewed-by: Ben Gardon <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions