virgl: Remove wrong EAGAIN handling for drmIoctl

drmIoctl handles EAGAIN itself and actually it always return -1 on errors.
Remove the wrong handling of its return value. Also, print a warning when
it fails.

v2: - use _debug_printf instead of fprintf (Gurchetan Singh)

Signed-off-by: Lepton Wu <>
Reviewed-by: Eric Anholt <> (v1)
38 jobs for !1875 with drmioctlret in 19 minutes and 35 seconds (queued for 3 seconds)
merge request