Received: from eggs.gnu.org ([2001:4830:134:3::10]:60510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djnh6-0004PB-LZ for qemu-devel@nongnu.org; Mon, 21 Aug 2017 10:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djnh3-0005Dr-DQ for qemu-devel@nongnu.org; Mon, 21 Aug 2017 10:28:44 -0400 From: Alberto Garcia In-Reply-To: <20170821093150.6783-6-el13635@mail.ntua.gr> References: <20170821093150.6783-1-el13635@mail.ntua.gr> <20170821093150.6783-6-el13635@mail.ntua.gr> Date: Mon, 21 Aug 2017 15:29:45 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v6 5/6] block: add throttle block filter driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Manos Pitsidianakis , qemu-devel Cc: qemu-block , Stefan Hajnoczi , Kevin Wolf On Mon 21 Aug 2017 11:31:49 AM CEST, Manos Pitsidianakis wrote: > block/throttle.c uses existing I/O throttle infrastructure inside a > block filter driver. I/O operations are intercepted in the filter's > read/write coroutines, and referred to block/throttle-groups.c > > The driver can be used with the syntax > -drive driver=throttle,file.filename=foo.qcow2, \ > limits.iops-total=... > > which creates an anonymous group with the specified limits, or Weren't we going to forbid anonymous groups? :-? Berto