]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errors
authorSean Christopherson <seanjc@google.com>
Wed, 4 May 2022 16:44:49 +0000 (09:44 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 14:21:07 +0000 (10:21 -0400)
commit425bfaa2e8edf7df8b4ea206f04a1127273634b3
tree0fa7bcca49f247bc2bfd6aae9990d51e7ab52699
parente97b4891b8dbfe95f1fd3ce23ae579d0db59443f
KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errors

Use __KVM_SYSCALL_ERROR() to report and pretty print non-KVM syscall and
ioctl errors, e.g. for mmap(), munmap(), uffd ioctls, etc...

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