Received: from eggs.gnu.org ([2001:4830:134:3::10]:49924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtBRa-00033N-2m for qemu-devel@nongnu.org; Fri, 15 May 2015 04:58:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtBRW-0001J1-RD for qemu-devel@nongnu.org; Fri, 15 May 2015 04:58:10 -0400 From: Alberto Garcia In-Reply-To: <20150515025609.GM28144@ad.nay.redhat.com> References: <0faf3d82dca9bf334d99f761e84874cb36fa466b.1431523498.git.berto@igalia.com> <20150515025609.GM28144@ad.nay.redhat.com> Date: Fri, 15 May 2015 10:58:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 11/11] qemu-iotests: test overlapping block-stream operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org On Fri 15 May 2015 04:56:09 AM CEST, Fam Zheng wrote: >> + # If node4 is the active node, the id of the block job is drive0 >> + if self.num_imgs == 5: > > Isn't self.num_imgs a constant (9) ? Yes, but the number is arbitrary. The idea is to let users change it if they want to, so the test case must be prepared for that. Berto