From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agBfA-0001EZ-O6 for qemu-devel@nongnu.org; Wed, 16 Mar 2016 09:39:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agBf7-0003Oc-NY for qemu-devel@nongnu.org; Wed, 16 Mar 2016 09:39:00 -0400 Received: from e06smtp09.uk.ibm.com ([195.75.94.105]:53622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agBf7-0003O9-FC for qemu-devel@nongnu.org; Wed, 16 Mar 2016 09:38:57 -0400 Received: from localhost by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 16 Mar 2016 13:38:55 -0000 References: <1458123018-18651-1-git-send-email-famz@redhat.com> <56E9355A.5070700@redhat.com> <56E93A22.1080102@de.ibm.com> <56E93ECE.10103@redhat.com> <56E9425C.8030201@de.ibm.com> <56E957AD.2050005@redhat.com> From: Christian Borntraeger Message-ID: <56E961EA.4090908@de.ibm.com> Date: Wed, 16 Mar 2016 14:38:50 +0100 MIME-Version: 1.0 In-Reply-To: <56E957AD.2050005@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] Tweaks around virtio-blk start/stop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, "Michael S. Tsirkin" , tubo@linux.vnet.ibm.com, Stefan Hajnoczi , cornelia.huck@de.ibm.com On 03/16/2016 01:55 PM, Paolo Bonzini wrote: > > > On 16/03/2016 12:24, Christian Borntraeger wrote: >> On 03/16/2016 12:09 PM, Paolo Bonzini wrote: >>> On 16/03/2016 11:49, Christian Borntraeger wrote: >>>> #3 0x00000000800b713e in virtio_blk_data_plane_start (s=0xba232d80) at /home/cborntra/REPOS/qemu/hw/block/dataplane/virtio-blk.c:224 >>>> #4 0x00000000800b4ea0 in virtio_blk_handle_output (vdev=0xb9eee7e8, vq=0xba305270) at /home/cborntra/REPOS/qemu/hw/block/virtio-blk.c:590 >>>> #5 0x00000000800ef3dc in virtio_queue_notify_vq (vq=0xba305270) at /home/cborntra/REPOS/qemu/hw/virtio/virtio.c:1095 >>>> #6 0x00000000800f1c9c in virtio_queue_host_notifier_read (n=0xba3052c8) at /home/cborntra/REPOS/qemu/hw/virtio/virtio.c:1785 > > If you just remove the calls to virtio_queue_host_notifier_read, here > and in virtio_queue_aio_set_host_notifier_fd_handler, does it work > (keeping patches 2-4 in)? With these changes and patch 2-4 it does no longer locks up. I keep it running some hour to check if a crash happens. Tu Bo, your setup is currently better suited for reproducing. Can you also check? > > Paolo > >>>> #7 0x00000000800f1e14 in virtio_queue_set_host_notifier_fd_handler (vq=0xba305270, assign=false, set_handler=false) at /home/cborntra/REPOS/qemu/hw/virtio/virtio.c:1817 >>>> #8 0x0000000080109c50 in virtio_ccw_set_guest2host_notifier (dev=0xb9eed6a0, n=0, assign=false, set_handler=false) at /home/cborntra/REPOS/qemu/hw/s390x/virtio-ccw.c:97 >>>> #9 0x0000000080109ef2 in virtio_ccw_stop_ioeventfd (dev=0xb9eed6a0) at /home/cborntra/REPOS/qemu/hw/s390x/virtio-ccw.c:154 >