Received: from eggs.gnu.org ([2001:4830:134:3::10]:56926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Q2s-0004qV-9j for qemu-devel@nongnu.org; Wed, 09 Nov 2016 05:23:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Q2n-00039H-Ar for qemu-devel@nongnu.org; Wed, 09 Nov 2016 05:23:54 -0500 Received: from smtp3.mundo-r.com ([212.51.32.191]:20849 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Q2n-00038b-4R for qemu-devel@nongnu.org; Wed, 09 Nov 2016 05:23:49 -0500 From: Alberto Garcia In-Reply-To: <1478685040-2035-1-git-send-email-pradeep.jagadeesh@huawei.com> References: <1478685040-2035-1-git-send-email-pradeep.jagadeesh@huawei.com> Date: Wed, 09 Nov 2016 11:23:46 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH V10] fsdev: add IO throttle support to fsdev devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pradeep Jagadeesh , "Aneesh Kumar K.V" , Greg Kurz Cc: Pradeep Jagadeesh , qemu-devel@nongnu.org, Claudio Fontana On Wed 09 Nov 2016 10:50:40 AM CET, Pradeep Jagadeesh wrote: > Uses throttling APIs to limit I/O bandwidth and number of operations > on the devices which use 9p-local driver. > > Signed-off-by: Pradeep Jagadeesh It looks good now, thanks! > +void fsdev_throttle_parse_opts(QemuOpts *opts, FsThrottle *fst, Error **err) > +{ [...] > + throttle_is_valid(&fst->cfg, err); > +} Following the QEMU conventions, I would still rename 'err' to 'errp' in this function (since it's an Error **). Otherwise, Reviewed-by: Alberto Garcia Berto