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

2017-06-30 Thread Alberto Garcia
On Thu 29 Jun 2017 05:10:53 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 > index 659a410..ac4f221 100644 > --- a/include/qemu/throttl

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

2017-06-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 | 4 +++ util/thr