diff options
author | Ricardo Koller <ricarkol@google.com> | 2021-09-07 11:09:56 -0700 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-21 11:36:34 +0100 |
commit | ffb4ce3c49366f02f1c064fbe2e66a96ab5f98b8 (patch) | |
tree | 403af3fb6cac4bde2432177a2a01637cf52fbb41 /lib/zstd/common/debug.c | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) |
KVM: selftests: Make memslot_perf_test arch independent
memslot_perf_test uses ucalls for synchronization between guest and
host. Ucalls API is architecture independent: tests do not need to know
details like what kind of exit they generate on a specific arch. More
specifically, there is no need to check whether an exit is KVM_EXIT_IO
in x86 for the host to know that the exit is ucall related, as
get_ucall() already makes that check.
Change memslot_perf_test to not require specifying what exit does a
ucall generate. Also add a missing ucall_init.
Signed-off-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210907180957.609966-2-ricarkol@google.com
Diffstat (limited to 'lib/zstd/common/debug.c')
0 files changed, 0 insertions, 0 deletions