Re: [Qemu-devel] [PATCH v10 1/6] throttle: factor out duplicate code

2017-09-06 Thread Greg Kurz
With this patch applied, we get: $ git log --no-decorate --oneline include/qemu/throttle-options.h a54046b857be throttle: factor out duplicate code a2a7862ca9ab throttle: factor out duplicate code Maybe better to change the patch title to: throttle: factor out more duplicate code On Mon, 4 Sep

[Qemu-devel] [PATCH v10 1/6] throttle: factor out duplicate code

2017-09-04 Thread Pradeep Jagadeesh
This patch factor out the duplicate throttle code that was present in block and fsdev devices. Signed-off-by: Pradeep Jagadeesh Reviewed-by: Alberto Garcia --- blockdev.c | 44 +-- fsdev/qemu-fsdev-throttle.c | 44 ++--