From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsRzs-0007QS-Qw for qemu-devel@nongnu.org; Mon, 16 Dec 2013 01:49:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsRzm-0003lE-S3 for qemu-devel@nongnu.org; Mon, 16 Dec 2013 01:49:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:64806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsRzm-0003lA-Jn for qemu-devel@nongnu.org; Mon, 16 Dec 2013 01:49:38 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBG6nbvS011096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 Dec 2013 01:49:38 -0500 Message-ID: <52AEA276.1010606@redhat.com> Date: Mon, 16 Dec 2013 14:49:26 +0800 From: Fam Zheng MIME-Version: 1.0 References: <1387176333-30183-1-git-send-email-famz@redhat.com> <1387176333-30183-2-git-send-email-famz@redhat.com> In-Reply-To: <1387176333-30183-2-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v7 1/7] blkdebug: Use QLIST_FOREACH_SAFE to resume IO List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, jcody@redhat.com, stefanha@redhat.com On 2013=E5=B9=B412=E6=9C=8816=E6=97=A5 14:45, Fam Zheng wrote: > Qemu-iotest 030 was broken. > > When the coroutine runs and finishes, it will remove itself from the re= q > list, so let's use safe version of foreach to avoid use after free. > > Signed-off-by: Fam Zheng > --- This one is already applied to Kevin's tree, please skip it. Fam