aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2021-09-16 18:15:49 +0000
committerPaolo Bonzini <[email protected]>2021-10-18 14:43:46 -0400
commitc1901feef5bbe87713815ad0eff6331ae7225973 (patch)
tree3bfde646e51b6d60fecfc418f1fda701d7597df1 /tools/perf/scripts/python/export-to-sqlite.py
parent61fb1c54853dda9a95b785f36220fa8ff39bac20 (diff)
selftests: KVM: Fix kvm device helper ioctl assertions
The KVM_CREATE_DEVICE and KVM_{GET,SET}_DEVICE_ATTR ioctls are defined to return a value of zero on success. As such, tighten the assertions in the helper functions to only pass if the return code is zero. Suggested-by: Andrew Jones <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Signed-off-by: Oliver Upton <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions