diff options
author | Eric Auger <eric.auger@redhat.com> | 2021-04-07 15:59:37 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-07 15:50:50 +0100 |
commit | 4cffb2df4260ed38c7ae4105f6913ad2d71a16ec (patch) | |
tree | 65e30279ea4e5aeede8ba2c54c704b4a758c698f /arch/arm64 | |
parent | dc0e058eef42f61effe9fd4f0fa4b0c793cc1f14 (diff) |
KVM: selftests: vgic_init kvm selftests fixup
Bring some improvements/rationalization over the first version
of the vgic_init selftests:
- ucall_init is moved in run_cpu()
- vcpu_args_set is not called as not needed
- whenever a helper is supposed to succeed, call the non "_" version
- helpers do not return -errno, instead errno is checked by the caller
- vm_gic struct is used whenever possible, as well as vm_gic_destroy
- _kvm_create_device takes an addition fd parameter
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Suggested-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210407135937.533141-1-eric.auger@redhat.com
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions