From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSl1W-00065I-KY for qemu-devel@nongnu.org; Tue, 03 Mar 2015 06:30:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSl1S-0001SP-CB for qemu-devel@nongnu.org; Tue, 03 Mar 2015 06:30:02 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:10776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSl1R-0001RP-PG for qemu-devel@nongnu.org; Tue, 03 Mar 2015 06:29:58 -0500 Message-ID: <54F59B08.5080900@huawei.com> Date: Tue, 3 Mar 2015 19:29:12 +0800 From: Gonglei MIME-Version: 1.0 References: <1425378969-9677-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1425378969-9677-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vl: take iothread lock very early List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org On 2015/3/3 18:36, Paolo Bonzini wrote: > If the iothread lock isn't taken by the main thread, the RCU callbacks > might run concurrently with the main thread. QEMU's not ready for that. > > Signed-off-by: Paolo Bonzini > --- > vl.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Tested-by: Gonglei Regards, -Gonglei