From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdFrz-000577-Cy for qemu-devel@nongnu.org; Wed, 01 Apr 2015 06:27:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdFrw-0007Lu-21 for qemu-devel@nongnu.org; Wed, 01 Apr 2015 06:27:35 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:38348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdFrv-0007L9-R1 for qemu-devel@nongnu.org; Wed, 01 Apr 2015 06:27:31 -0400 Received: by wibgn9 with SMTP id gn9so60421227wib.1 for ; Wed, 01 Apr 2015 03:27:30 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <551BC80F.9040702@redhat.com> Date: Wed, 01 Apr 2015 12:27:27 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <173593231.25820090.1427859280478.JavaMail.zimbra@oxygem.tv> In-Reply-To: <173593231.25820090.1427859280478.JavaMail.zimbra@oxygem.tv> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] virtio-scsi + iothread : segfault on drive_del List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexandre DERUMIER , qemu-devel On 01/04/2015 05:34, Alexandre DERUMIER wrote: > > I'm currently testing virtio-scsi and iothread, > > and I'm seeing qemu segfault when I try to remove an scsi drive > on top of an virtio-scsi controller with iothread enabled. > > > virtio-blk + iothread drive_del is supported since this patch > > http://comments.gmane.org/gmane.comp.emulators.qemu/291562 > "block: support drive_del with dataplane > > This series makes hot unplug work with virtio-blk dataplane devices. It should > also work with Fam's virtio-scsi dataplane patches." virtio-scsi + iothread is experimental and not yet thread-safe. Deadlocks or crashes are expected, and not really fixable without a lot of preparatory changes to core QEMU code. These are being done, but I don't expect it to be fixed before 2.5. Paolo