Il 28/05/2012 21:40, Andreas Färber ha scritto: > I'm seeing qemu-timer.c:unix_rearm_timer()'s setitimer() abort with > EINVAL during `make check` on both platforms. The value of > nearest_delta_ns appears to be INT64_MAX. Is this expected? Is it > possible that this value is too large for it_value on some platforms? > Apple's man page mentions that as possible reason for EINVAL but doesn't > describe how to obtain such an upper value, nor of course where in the > QEMU code base we would need to make adaptions. ;) > > Any suggestions?
You shouldn't call the rearm function at all if you get INT64_MAX. This applies to all timers. We probably never had the problem because until recently the delta was capped to INT32_MAX instead. Paolo