Re: [Qemu-devel] [PATCH V4 0/5] Continuous Leaky Bucket Throttling*

2013-08-09 Thread Benoît Canet
It fail with the following error message at exit and I don't know why yet. qemu-system-x86_64: block.c:1489: bdrv_drain_all: Assertion `((bs-tracked_requests)-lh_first == ((void *)0))' failed. I solved this issue: bdrv_drain_all was bogus. Best regards Benoît block.c |

[Qemu-devel] [PATCH V4 0/5] Continuous Leaky Bucket Throttling

2013-08-08 Thread Benoît Canet
This patchset implement continous leaky bucket throttling. It use two requests queue to enable to do silly unbalanced throttling like block_set_io_throttle 0 0 0 0 6000 1 It use two timer to get the timer callbacks and the throttle.c code simple It add unit tests. It fail with the following