Searched hist:"9 bbf24744e12bb6b9b32e30917b07f9242cc0341" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | processor.c | diff 9bbf24744e12bb6b9b32e30917b07f9242cc0341 Thu Jan 23 12:04:32 CST 2020 Ben Gardon <bgardon@google.com> KVM: selftests: Add support for vcpu_args_set to aarch64 and s390x
Currently vcpu_args_set is only implemented for x86. This makes writing tests with multiple vCPUs difficult as each guest vCPU must either a.) do the same thing or b.) derive some kind of unique token from it's registers or the architecture. To simplify the process of writing tests with multiple vCPUs for s390 and aarch64, add set args functions for those architectures.
Signed-off-by: Ben Gardon <bgardon@google.com> [Fixed array index (num => i) and made some style changes.] Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | processor.c | diff 9bbf24744e12bb6b9b32e30917b07f9242cc0341 Thu Jan 23 12:04:32 CST 2020 Ben Gardon <bgardon@google.com> KVM: selftests: Add support for vcpu_args_set to aarch64 and s390x
Currently vcpu_args_set is only implemented for x86. This makes writing tests with multiple vCPUs difficult as each guest vCPU must either a.) do the same thing or b.) derive some kind of unique token from it's registers or the architecture. To simplify the process of writing tests with multiple vCPUs for s390 and aarch64, add set args functions for those architectures.
Signed-off-by: Ben Gardon <bgardon@google.com> [Fixed array index (num => i) and made some style changes.] Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|