From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kh3Bu-00068g-6w for qemu-devel@nongnu.org; Sat, 20 Sep 2008 10:12:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kh3Bt-00068R-Aj for qemu-devel@nongnu.org; Sat, 20 Sep 2008 10:12:05 -0400 Received: from [199.232.76.173] (port=57168 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kh3Bt-00068O-0p for qemu-devel@nongnu.org; Sat, 20 Sep 2008 10:12:05 -0400 Received: from wf-out-1314.google.com ([209.85.200.173]:16545) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kh3Bs-00020H-G3 for qemu-devel@nongnu.org; Sat, 20 Sep 2008 10:12:04 -0400 Received: by wf-out-1314.google.com with SMTP id 27so929441wfd.4 for ; Sat, 20 Sep 2008 07:12:03 -0700 (PDT) Message-ID: Date: Sat, 20 Sep 2008 17:12:03 +0300 From: "Blue Swirl" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_58094_13926725.1221919923665" Subject: [Qemu-devel] Two signalfd_compat threads created: remove one Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel ------=_Part_58094_13926725.1221919923665 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Function qemu_aio_init() is called from both vl.c and block.c. This means that two threads handling signalfd_compat are created. This patch removes the call from vl.c. ------=_Part_58094_13926725.1221919923665 Content-Type: plain/text; name=fix_aio_init.diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_flcbhl9i Content-Disposition: attachment; filename=fix_aio_init.diff SW5kZXg6IHFlbXUvdmwuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBxZW11Lm9yaWcvdmwuYwkyMDA4LTA5LTIw IDEzOjQ1OjQ2LjAwMDAwMDAwMCArMDAwMAorKysgcWVtdS92bC5jCTIwMDgtMDktMjAgMTQ6MDI6 MjkuMDAwMDAwMDAwICswMDAwCkBAIC04OTgxLDcgKzg5ODEsNiBAQAogCiAgICAgaW5pdF90aW1l cnMoKTsKICAgICBpbml0X3RpbWVyX2FsYXJtKCk7Ci0gICAgcWVtdV9haW9faW5pdCgpOwogICAg IGlmICh1c2VfaWNvdW50ICYmIGljb3VudF90aW1lX3NoaWZ0IDwgMCkgewogICAgICAgICB1c2Vf aWNvdW50ID0gMjsKICAgICAgICAgLyogMTI1TUlQUyBzZWVtcyBhIHJlYXNvbmFibGUgaW5pdGlh bCBndWVzcyBhdCB0aGUgZ3Vlc3Qgc3BlZWQuCg== ------=_Part_58094_13926725.1221919923665--