Here's a pull request for glib pre-2.31 compatibility layer and libcacard cleanups on top of it. It has been submitted for review previously:
v1: http://thread.gmane.org/gmane.comp.emulators.qemu/269432 v2: http://thread.gmane.org/gmane.comp.emulators.qemu/270259 Previous attempt of adding glib compat layer by Stefan Hajnoczi: http://thread.gmane.org/gmane.comp.emulators.qemu/253830 Changes since v2 submission: - dropped 3 trivial changes which were applied meantime - fixed coding style (identation/spacing) in first patch alevy: I hope these tiny spacing changes are okay for you to keep your reviewed-by ;) Please consider applying. Since this touches several areas of qemu, there's no clear maintainer so I'm not really sure which maintainer tree should pick this up. And it isn't very suitable for -trival either :) Thanks, /mjt The following changes since commit ff788b6fe67f694666781f821c1af812e8c7999b: Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-05-07' into staging (2014-05-07 18:38:39 +0100) are available in the git repository at: git://git.corpit.ru/qemu.git libcacard-standalone for you to fetch changes up to 90dfe3ee62d65cf2fc62e9dd9ee51f5da3aaeb7b: libcacard: actually use symbols file (2014-05-08 12:13:38 +0400) ---------------------------------------------------------------- libcacard-standalone patch queue for 2014-05-08 ---------------------------------------------------------------- Michael Tokarev (4): glib-compat.h: add new thread API emulation on top of pre-2.31 API vscclient: use glib thread primitives not qemu libcacard: replace qemu thread primitives with glib ones libcacard: actually use symbols file coroutine-gthread.c | 30 +++++--------- include/glib-compat.h | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ libcacard/Makefile | 10 +---- libcacard/event.c | 25 ++++++------ libcacard/vreader.c | 19 +++++---- libcacard/vscclient.c | 75 +++++++++++++++++++--------------- trace/simple.c | 50 ++++++----------------- 7 files changed, 196 insertions(+), 119 deletions(-)