Markus Armbruster <[email protected]> writes: > Retrieve the @errno set by ioctl() before we call accel_ioctl_end() > instead of afterwards, so it works whether accel_ioctl_end() preserves > @errno or not. > > Signed-off-by: Markus Armbruster <[email protected]>
I did not check whether the assumption holds or not. If it doesn't, then this needs Fixes: a27dd2de68f3 (KVM: keep track of running ioctls)
