diff options
| author | 2022-09-28 23:36:51 +0000 | |
|---|---|---|
| committer | 2022-09-30 06:39:34 -0400 | |
| commit | 53c9bdb922f40a7abf3b1642f8a39d3b94d10d62 (patch) | |
| tree | 9f83dde094edd0e624a2b3965179c0ce9cdcee78 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: selftests: Explicitly verify KVM doesn't patch hypercall if quirk==off (diff) | |
| download | linux-dev-53c9bdb922f40a7abf3b1642f8a39d3b94d10d62.tar.xz linux-dev-53c9bdb922f40a7abf3b1642f8a39d3b94d10d62.zip | |
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 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
