qemu-patch-raspberry4/tools
Daniel P. Berrangé d9a801f7e9 virtiofsd: use GDateTime for formatting timestamp for debug messages
The GDateTime APIs provided by GLib avoid portability pitfalls, such
as some platforms where 'struct timeval.tv_sec' field is still 'long'
instead of 'time_t'. When combined with automatic cleanup, GDateTime
often results in simpler code too.

Localtime is changed to UTC to avoid the need to grant extra seccomp
permissions for GLib's access of the timezone database.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20210611164319.67762-1-berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2021-07-05 10:51:26 +01:00
..
ebpf ebpf: Added eBPF RSS program. 2021-06-04 15:25:46 +08:00
virtiofsd virtiofsd: use GDateTime for formatting timestamp for debug messages 2021-07-05 10:51:26 +01:00
meson.build virtiofsd: Allow to build it without the tools 2021-02-16 17:03:09 +00:00