From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFiWi-0008Km-3j for qemu-devel@nongnu.org; Thu, 16 Jul 2015 08:44:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFiWd-0001UT-T6 for qemu-devel@nongnu.org; Thu, 16 Jul 2015 08:44:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFiWd-0001UD-Nv for qemu-devel@nongnu.org; Thu, 16 Jul 2015 08:44:31 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 134F83CA167 for ; Thu, 16 Jul 2015 12:44:31 +0000 (UTC) Date: Thu, 16 Jul 2015 13:44:29 +0100 From: "Richard W.M. Jones" Message-ID: <20150716124429.GB27858@redhat.com> References: <1437040609-9878-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <1437040609-9878-1-git-send-email-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/3] AioContext: ctx->dispatching is dead, all hail ctx->notify_me List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, lersek@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sorry for the very long delay in replying to this. I wanted to be absolutely sure I was reproducing the bug. Unfortunately I'm only able to reproduce the bug with qemu 2.3.0 (both the version in Fedora Rawhide, or the tagged v2.3.0 from git). I cannot currently reproduce it at all with upstream qemu from git. The patches understandably only apply to upstream qemu from git, and have quite a few tricky conflicts with v2.3.0. I'll keep trying on this one. It may be that the window for the bug to reproduce with qemu.git has got smaller. Rich. ---------------------------------------------------------------------- Notes on how I try to reproduce this: (1) Using Fedora Rawhide aarch64 (2) libguestfs checked out and compiled from git (3) kraxel's edk2.git-aarch64-0-20150713.b1115.g2ad9cf3.noarch (4) heisenscsi.pl (attached). $ export LIBGUESTFS_HV=/path/to/qemu/aarch64-softmmu/qemu-system-aarch64 $ while true; do echo .; ./run ./heisenscsi.pl ; done -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org --LQksG6bCIzRHxTLp Content-Type: application/x-perl Content-Disposition: attachment; filename="heisenscsi.pl" Content-Transfer-Encoding: quoted-printable #!/usr/bin/perl -w=0Ause strict;=0A=0Amy @output;=0Aopen PIPE, "libguestfs-= test-tool -t 120 2>&1 |"=0A or die "libguestfs-test-tool: $!";=0Apush @o= utput, $_ while ;=0Aclose PIPE;=0A=0A# Last 10 lines of output.=0Amy = @last =3D @output[-10..-1];=0A# When the bug hits, this is the line before = it hangs:=0Amy $found =3D 0;=0Aforeach (@last) {=0A if (/LastBlock : 31F= FF/) {=0A $found =3D 1;=0A last;=0A }=0A}=0Aif ($found) {= =0A # Print the last 10 lines of output before the hang.=0A print $_ = for @last;=0A die "HEISENSCSI HANG DETECTED\n";=0A}=0A=0Aexit 0=0A --LQksG6bCIzRHxTLp--