error-report: replace deprecated g_get_current_time() with glib >= 2.62
commit73dab893b569b0103c28634d7c33575d3602f51f
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Mar 2022 15:57:24 +0000 (23 19:57 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Apr 2022 12:31:43 +0000 (6 14:31 +0200)
tree9b1a3899eff5b5003bbae7317296b38fddb5bafd
parent6e9396696f869551bc39531aa8220ef813da472e
error-report: replace deprecated g_get_current_time() with glib >= 2.62

According to GLib API:
g_get_current_time has been deprecated since version 2.62 and should not
be used in newly-written code. GTimeVal is not year-2038-safe. Use
g_get_real_time() instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-14-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/glib-compat.h
util/qemu-error.c