On 11/5/26 09:06, Paolo Bonzini wrote:

I have also considered changing the function to return a struct timespec.  I didn't like it too much because struct timespec uses a time_t which is possibly 32-bit.  Now, QEMU is probably broken for Y2038 anyway, but having time_t dependencies in device emulation code is not great; at least mktimegm and gmtime_r could be rewritten easily.

Worth tracking in GitLab issues?

Reply via email to