[PATCH 0/4] RFC: remove qemu_gettimeofday()

marcandre.lureau@redhat.com posted 4 patches 2 years, 2 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220304152704.3466036-1-marcandre.lureau@redhat.com
Maintainers: Markus Armbruster <armbru@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, BALATON Zoltan <balaton@eik.bme.hu>, "Michael S. Tsirkin" <mst@redhat.com>, David Hildenbrand <david@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Stefan Weil <sw@weilnetz.de>, Michael Roth <michael.roth@amd.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Chris Wulff <crwulff@gmail.com>, Marek Vasut <marex@denx.de>
include/sysemu/os-posix.h  |  3 ---
include/sysemu/os-win32.h  |  6 ------
blockdev.c                 |  8 ++++----
hw/rtc/m41t80.c            |  6 +++---
hw/virtio/virtio-balloon.c |  9 +--------
qapi/qmp-event.c           | 12 +++++-------
qemu-img.c                 |  8 ++++----
qga/commands-posix.c       | 11 +----------
softmmu/qtest.c            | 39 ++++++++++----------------------------
target/m68k/m68k-semi.c    | 22 ++++++++++-----------
target/nios2/nios2-semi.c  | 24 +++++++++++------------
util/oslib-win32.c         | 20 -------------------
12 files changed, 49 insertions(+), 119 deletions(-)
[PATCH 0/4] RFC: remove qemu_gettimeofday()
Posted by marcandre.lureau@redhat.com 2 years, 2 months ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

Here is a few patches to replace qemu_gettimeofday() helper with functions
provided by GLib.

Marc-André Lureau (4):
  m68k/nios2-semi: fix gettimeofday() result check
  qtest: replace gettimeofday with GTimer
  Replace qemu_gettimeofday() with g_get_real_time()
  oslib: drop qemu_gettimeofday()

 include/sysemu/os-posix.h  |  3 ---
 include/sysemu/os-win32.h  |  6 ------
 blockdev.c                 |  8 ++++----
 hw/rtc/m41t80.c            |  6 +++---
 hw/virtio/virtio-balloon.c |  9 +--------
 qapi/qmp-event.c           | 12 +++++-------
 qemu-img.c                 |  8 ++++----
 qga/commands-posix.c       | 11 +----------
 softmmu/qtest.c            | 39 ++++++++++----------------------------
 target/m68k/m68k-semi.c    | 22 ++++++++++-----------
 target/nios2/nios2-semi.c  | 24 +++++++++++------------
 util/oslib-win32.c         | 20 -------------------
 12 files changed, 49 insertions(+), 119 deletions(-)

-- 
2.35.1.273.ge6ebfd0e8cbb