Received: from eggs.gnu.org ([2001:4830:134:3::10]:58382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Rqf-0003zI-Ss for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:19:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Rqb-0000nc-Fg for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:19:25 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:4641) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4Rqb-0000nB-6n for qemu-devel@nongnu.org; Wed, 09 Nov 2016 07:19:21 -0500 References: <1478685040-2035-1-git-send-email-pradeep.jagadeesh@huawei.com> From: Pradeep Jagadeesh Message-ID: <56e9cd9c-8dc0-83a0-a673-3a0db6e2562a@huawei.com> Date: Wed, 9 Nov 2016 13:18:04 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit 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: Alberto Garcia , Pradeep Jagadeesh , "Aneesh Kumar K.V" , Greg Kurz Cc: qemu-devel@nongnu.org, Claudio Fontana On 11/9/2016 11:23 AM, Alberto Garcia wrote: > 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, Thanks, I will change it. -Pradeep > Reviewed-by: Alberto Garcia > > Berto >