summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/riscv/processor.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-02-15 12:06:02 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 10:18:58 -0400
commit71ab5a6fea49875290e6ca035ff1d3e3ef3813f7 (patch)
tree6554f45293fab9abe36039a61ff19a03579aacaf /tools/testing/selftests/kvm/lib/riscv/processor.c
parent47a7c924b62de4b9d1752c1f5bc111c847229799 (diff)
KVM: selftests: Make vm_ioctl() a wrapper to pretty print ioctl name
Make vm_ioctl() a macro wrapper and print the _name_ of the ioctl on failure instead of the number. Deliberately do not use __stringify(), as that will expand the ioctl all the way down to its numerical sequence. Again the intent is to print the name of the macro. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/riscv/processor.c')
0 files changed, 0 insertions, 0 deletions