qga: replace qemu_gettimeofday() with g_get_real_time()
commit287698e50fb2340d9f6436976ac701512cb7c383
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Mar 2022 07:03:59 +0000 (7 11:03 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Apr 2022 08:50:37 +0000 (6 10:50 +0200)
tree06e5cc5529ee879f76cbf1c6d3154f719188e4cf
parent20e4ae117a868c77e3e84147bd1708cdf159f8be
qga: replace qemu_gettimeofday() with g_get_real_time()

GLib g_get_real_time() is an alternative to gettimeofday() which allows
to simplify our code.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220307070401.171986-4-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qga/commands-posix.c
qga/commands-win32.c
qga/commands.c