Received: from eggs.gnu.org ([2001:4830:134:3::10]:38929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHnOu-0001tG-2l for qemu-devel@nongnu.org; Tue, 28 Jun 2016 03:25:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHnOr-0005gg-54 for qemu-devel@nongnu.org; Tue, 28 Jun 2016 03:25:40 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:14598 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHnOq-0005gb-RD for qemu-devel@nongnu.org; Tue, 28 Jun 2016 03:25:37 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u5S7JE94020485 for ; Tue, 28 Jun 2016 03:25:36 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 23sm3unyaf-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 28 Jun 2016 03:25:36 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 28 Jun 2016 08:25:34 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 2D4682190069 for ; Tue, 28 Jun 2016 08:25:02 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u5S7PW4f65470638 for ; Tue, 28 Jun 2016 07:25:32 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u5S7PU0L008469 for ; Tue, 28 Jun 2016 01:25:31 -0600 Date: Tue, 28 Jun 2016 09:25:26 +0200 From: Cornelia Huck In-Reply-To: <5772178D.9030002@kamp.de> References: <5770F58F.2080402@kamp.de> <20160627170938.04a7a13c.cornelia.huck@de.ibm.com> <5772178D.9030002@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20160628092526.219ebc10.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] Regression: virtio-pci: convert to ioeventfd callbacks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: "qemu-devel@nongnu.org" , famz@redhat.com, stefanha@redhat.com, "Michael S. Tsirkin" On Tue, 28 Jun 2016 08:22:05 +0200 Peter Lieven wrote: > Am 27.06.2016 um 17:09 schrieb Cornelia Huck: > > On Mon, 27 Jun 2016 11:44:47 +0200 > > Peter Lieven wrote: > > > >> Hi, with the above patch applied: > >> > >> commit 9f06e71a567ba5ee8b727e65a2d5347fd331d2aa > >> Author: Cornelia Huck > >> Date: Fri Jun 10 11:04:12 2016 +0200 > >> > >> virtio-pci: convert to ioeventfd callbacks > >> > >> a Ubuntu 14.04 VM freezes at startup when blk-mq is set up - even if there is only one queue. > > OK, I played around a bit with Stefan's block branch rebased upon > > current master (and the conflict fixed up)... and I can't seem to hit > > any error with virtio-ccw (will see if I find time to play around with > > virtio-pci; but unless I've messed up, this should be the same code > > path). VIRTIO_BLK_F_MQ is correctly negotiated if num_queues > 1, and I > > can use the disk. > > > > So, two questions: > > - Which branch are you using? Any chance of a mis-merge there? > > - Can you share the interesting portion of your command line? > > > > Hi Cornelia, > > sorry I should have been a little more precise. I am using current master for git.qemu.org. > > I tried around and I can only reproduce the regression with iSCSI *and* dataplane enabled. > Here is the reproducing commandline for me. > > ./x86_64-softmmu/qemu-system-x86_64 -enable-kvm -nodefaults -drive if=none,format=raw,file=iscsi://172.21.200.56/iqn.2001-05.com.equallogic:0-8a0906-98f384e0a-7d2004ee0a85767a-00lieven-test/0,cache=none,aio=native,id=disk0 -object iothread,id=iothread0 > -device virtio-blk-pci,drive=disk0,iothread=iothread0 -vga vmware -monitor stdio Nothing really exciting there, maybe a timing issue triggered by the iscsi backing? > > Have you the possiblity to install Ubuntu 14.04 on an iSCSI target? No, I don't have any iscsi target available. > > Let me know if you need further information. Maybe the regression is an incompatiblity between the iSCSI driver and ioeventfd? Running in gdb and looking at the backchains may be helpful. Or checking in a guest dump whether there's any hang there instead. (Does this happen with guests other than Ubuntu 14.04, maybe with a similar kernel level?)