diff options
author | Sean Christopherson <seanjc@google.com> | 2022-09-29 02:36:51 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-09-30 13:39:34 +0300 |
commit | 53c9bdb922f40a7abf3b1642f8a39d3b94d10d62 (patch) | |
tree | 9f83dde094edd0e624a2b3965179c0ce9cdcee78 /tools/perf/scripts/python/stackcollapse.py | |
parent | b7ab6d7d2cf7d5400592d1ff0448e8e0a09e5188 (diff) | |
download | linux-53c9bdb922f40a7abf3b1642f8a39d3b94d10d62.tar.xz |
KVM: selftests: Dedup subtests of fix_hypercall_test
Combine fix_hypercall_test's two subtests into a common routine, the only
difference between the two is whether or not the quirk is disabled.
Passing a boolean is a little gross, but using an enum to make it super
obvious that the callers are enabling/disabling the quirk seems like
overkill.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Message-Id: <20220928233652.783504-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions