Re: [PATCH v2 4/5] Replace qemu_gettimeofday() with g_get_real_time()

2022-03-07 Thread Laurent Vivier
Le 07/03/2022 à 11:35, Marc-André Lureau a écrit : Hi On Mon, Mar 7, 2022 at 2:13 PM Laurent Vivier mailto:laur...@vivier.eu>> wrote: Le 05/03/2022 à 20:17, Marc-André Lureau a écrit : > On Sat, Mar 5, 2022 at 1:18 AM mailto:marcandre.lur...@redhat.com>> wrote: >> >> From:

Re: [PATCH v2 4/5] Replace qemu_gettimeofday() with g_get_real_time()

2022-03-07 Thread Marc-André Lureau
Hi On Mon, Mar 7, 2022 at 2:13 PM Laurent Vivier wrote: > Le 05/03/2022 à 20:17, Marc-André Lureau a écrit : > > On Sat, Mar 5, 2022 at 1:18 AM wrote: > >> > >> From: Marc-André Lureau > >> > >> GLib g_get_real_time() is an alternative to gettimeofday() which allows > >> to simplify our code.

Re: [PATCH v2 4/5] Replace qemu_gettimeofday() with g_get_real_time()

2022-03-07 Thread Laurent Vivier
Le 05/03/2022 à 20:17, Marc-André Lureau a écrit : On Sat, Mar 5, 2022 at 1:18 AM wrote: From: Marc-André Lureau GLib g_get_real_time() is an alternative to gettimeofday() which allows to simplify our code. For semihosting, a few bits are lost on POSIX host, but this shouldn't be a big

Re: [PATCH v2 4/5] Replace qemu_gettimeofday() with g_get_real_time()

2022-03-05 Thread Marc-André Lureau
On Sat, Mar 5, 2022 at 1:18 AM wrote: > > From: Marc-André Lureau > > GLib g_get_real_time() is an alternative to gettimeofday() which allows > to simplify our code. > > For semihosting, a few bits are lost on POSIX host, but this shouldn't > be a big concern. > > Signed-off-by: Marc-André

[PATCH v2 4/5] Replace qemu_gettimeofday() with g_get_real_time()

2022-03-04 Thread marcandre . lureau
From: Marc-André Lureau GLib g_get_real_time() is an alternative to gettimeofday() which allows to simplify our code. For semihosting, a few bits are lost on POSIX host, but this shouldn't be a big concern. Signed-off-by: Marc-André Lureau Reviewed-by: Laurent Vivier --- blockdev.c