Re: [Qemu-devel] [PATCH v5 1/6] fsdev-throttle-qmp: factor out throttle code to reuse code

2018-11-22 Thread xiezhide
> -Original Message- > From: Greg Kurz [mailto:gr...@kaod.org] > Sent: Thursday, November 22, 2018 10:46 PM > To: xiezhide > Cc: qemu-devel@nongnu.org; aneesh.ku...@linux.vnet.ibm.com; > ebl...@redhat.com; arm...@redhat.com; be...@igalia.com; zengcanfu > 00215970 ; Jinxuefeng ; >

Re: [Qemu-devel] [PATCH v5 1/6] fsdev-throttle-qmp: factor out throttle code to reuse code

2018-11-22 Thread Greg Kurz
On Fri, 16 Nov 2018 15:59:16 +0800 xiezhide wrote: > Factor out throttle parameter parsing code to a new common > function which will be used by block and fsdev. > Rename function throttle_parse_options to throttle_parse_group > to resolve function name conflict > > Reviewed-by: Eric Blake >

[Qemu-devel] [PATCH v5 1/6] fsdev-throttle-qmp: factor out throttle code to reuse code

2018-11-16 Thread xiezhide
Factor out throttle parameter parsing code to a new common function which will be used by block and fsdev. Rename function throttle_parse_options to throttle_parse_group to resolve function name conflict Reviewed-by: Eric Blake Signed-off-by: xiezhide --- block/throttle.c| 6