On 25/11/25 10:03, Markus Armbruster wrote:
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.
Indeed, on Linux the futex syscall is called via qemu_event_set.
If it doesn't,
then this needs
Fixes: a27dd2de68f3 (KVM: keep track of running ioctls)
LGTM.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>