Re: [Qemu-devel] [PATCH V8 3/6] throttle: move out function to reuse the code

2017-08-29 Thread Alberto Garcia
On Mon 07 Aug 2017 02:37:35 PM CEST, Pradeep Jagadeesh wrote: > This patch move out the throttle code to util/throttle.c to maximize > the reusability of the code.The same code is also used by fsdev. > > Signed-off-by: Pradeep Jagadeesh > +iothrottle = qapi_BlockIOThrottle_base(arg); > +t

[Qemu-devel] [PATCH v8 3/6] throttle: move out function to reuse the code

2017-08-29 Thread Pradeep Jagadeesh
This patch move out the throttle code to util/throttle.c to maximize the reusability of the code.The same code is also used by fsdev. Signed-off-by: Pradeep Jagadeesh --- blockdev.c | 53 +++- include/qemu/throttle-options.h | 3 +++ util/thr

[Qemu-devel] [PATCH V8 3/6] throttle: move out function to reuse the code

2017-08-07 Thread Pradeep Jagadeesh
This patch move out the throttle code to util/throttle.c to maximize the reusability of the code.The same code is also used by fsdev. Signed-off-by: Pradeep Jagadeesh --- blockdev.c | 53 +++- include/qemu/throttle-options.h | 3 +++ util/thr