]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d9ebf402f68c1b9e0e7857d5c3a8baf1879dcaa
treed35e2d0c06d18027fb8da03d7d5cc2b4953df329
parentbc7d07aed628d6f65b575f4d7712330dbcc3d641
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