Files
Linux/tools
Oliver Upton c1901feef5 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]>
2021-10-18 14:43:46 -04:00
..
…
…
…
…
…
2021-09-18 17:43:06 -03:00
2021-08-05 11:01:30 +01:00
…
…
…
…
2021-08-11 06:44:24 -04:00
…
…
…