aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/x86_64
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-06-09 13:06:57 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-11 11:46:23 -0400
commit4091818426d98f4e7093808264caf86ad90287c8 (patch)
tree9546cbd35f40f7f4908ec75aba2b1da058a165a2 /tools/testing/selftests/kvm/lib/x86_64
parentKVM: selftests: Drop 'int' return from asserting *_has_device_attr() (diff)
downloadlinux-dev-4091818426d98f4e7093808264caf86ad90287c8.tar.xz
linux-dev-4091818426d98f4e7093808264caf86ad90287c8.zip
KVM: selftests: Split get/set device_attr helpers
Split the get/set device_attr helpers instead of using a boolean param to select between get and set. Duplicating upper level wrappers is a very, very small price to pay for improved readability, and having constant (at compile time) inputs will allow the selftests framework to sanity check ioctl() invocations. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/x86_64')
0 files changed, 0 insertions, 0 deletions