On Mon, Jun 11, 2012 at 3:20 PM, Bharata B Rao <bhar...@linux.vnet.ibm.com> wrote: > + ret = pthread_create(&thread, NULL, gluster_handle_poll, > + (void *)gctx);
Please use qemu-thread.h. QEMU uses signals so you almost certainly want to mask signals for this thread (qemu_thread_create() does that). Stefan