The 'simple' trace backend uses pthreads and does not work on Windows. These patches switch from pthreads to glib so that the code builds on all platforms supported by glib.
Only one thing I'm unhappy about: the simpletrace write-out thread used to block all signals. I have removed that code and don't expect glib to do it for me. I'm not sure if there is a problem if signal handlers are invoked in the write-out thread instead of a QEMU thread. Any thoughts? Stefan Hajnoczi (2): trace: portable simple trace backend using glib trace: use binary file open mode in simpletrace trace/simple.c | 58 ++++++++++++++++++++++++++----------------------------- 1 files changed, 27 insertions(+), 31 deletions(-) -- 1.7.5.4