Thread (11 messages) flat view 11 messages, 4 authors, 2021-09-12

Re: [PATCH 1/2] KVM: selftests: make memslot_perf_test arch independent

From: Maciej S. Szmigiero <hidden>
Date: 2021-09-12 16:33:08
Also in: kvmarm

On 04.09.2021 01:11, Ricardo Koller wrote:
memslot_perf_test uses ucalls for synchronization between guest and
host. Ucalls API is architecture independent: tests do not need know
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 <redacted>
---
Reviewed-by: Maciej S. Szmigiero <redacted>

Thanks,
Maciej
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help