diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-06-09 13:06:57 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:46:23 -0400 |
| commit | 4091818426d98f4e7093808264caf86ad90287c8 (patch) | |
| tree | 9546cbd35f40f7f4908ec75aba2b1da058a165a2 /tools/perf/scripts/python/libxed.py | |
| parent | d2752e2eb331cbbed6f51f901f2685654e1cafa7 (diff) | |
| download | linux-4091818426d98f4e7093808264caf86ad90287c8.tar.gz linux-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/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
