On Wed, Apr 27, 2016 at 09:29:02AM +0200, Pradeep Kiruvale wrote: > Thanks for the reply. I am still in the early phase, I will let you > know if any changes are needed for the APIs. > > We might also have to implement throttle-group.c for 9p devices, if > we want to apply throttle for group of devices.
Fair enough, but again please note that: - throttle-group.c is not meant to be generic, but it's tied to BlockDriverState / BlockBackend. - it is currently being rewritten: https://lists.gnu.org/archive/html/qemu-block/2016-04/msg00645.html If you can explain your use case with a bit more detail we can try to see what can be done about it. Regards, Berto