KVM: selftests: Use KVM_IOCTL_ERROR() for one-off arm64 ioctls
authorSean Christopherson <seanjc@google.com>
Thu, 17 Feb 2022 18:57:06 +0000 (10:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:20 +0000 (11:46 -0400)
commita78593fd8717349852fa9a3f7292516edc5b50ea
treed35e2d0c06d18027fb8da03d7d5cc2b4953df329
parentb530eba14c7001882ab517c8408878ef2de97863
KVM: selftests: Use KVM_IOCTL_ERROR() for one-off arm64 ioctls

Use the KVM_IOCTL_ERROR() macro to generate error messages for a handful
of one-off arm64 ioctls.  The calls in question are made without an
associated struct kvm_vm/kvm_vcpu as they are used to configure those
structs, i.e. can't be easily converted to e.g. vcpu_ioctl().

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/aarch64/processor.c