|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: segmentation fault in qemu-kvm-0.14.0 |
Date: | Wed, 09 Mar 2011 12:20:58 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 03/09/2011 08:37 AM, Jan Kiszka wrote:
It's probably worth validating that the iothread lock is always held when qemu_set_fd_handler2 is invoked to confirm this race theory, adding something like assert(pthread_mutex_trylock(&qemu_mutex) != 0); (that's for qemu-kvm only)
Alternatively, iohandlers could be a(nother) good place to start introducing fine-grained locks or rwlocks.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |