Received: from eggs.gnu.org ([2001:4830:134:3::10]:53617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyKMP-0007kO-Gu for qemu-devel@nongnu.org; Fri, 29 May 2015 09:30:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyKMK-0002FH-2W for qemu-devel@nongnu.org; Fri, 29 May 2015 09:30:05 -0400 From: Alberto Garcia In-Reply-To: <20150529123245.GB8598@stefanha-thinkpad.redhat.com> References: <20150529123245.GB8598@stefanha-thinkpad.redhat.com> Date: Fri, 29 May 2015 15:29:57 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 8/8] qemu-iotests: expand test 093 to support group throttling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , qemu-block@nongnu.org, qemu-devel@nongnu.org, Stefan Hajnoczi On Fri 29 May 2015 02:32:45 PM CEST, Stefan Hajnoczi wrote: >> def setUp(self): >> - self.vm = iotests.VM().add_drive(self.test_img) >> + self.vm = iotests.VM() >> + for i in range(0, self.max_drives): >> + self.vm.add_drive(self.test_img) > > Unique files are required, it's not safe to write to open the same > image file for writing multiple times. But there's no file here, self.test_img is null-aio:// Berto