This series depends on my other series 'add throttle block driver filter' currently on v3, which as the name suggests adds a throttle filter driver.
Replacing the current I/O interface means the user will use the same options as before and QEMU will create a hidden throttle filter node beneath the device's BlockBackend. Manos Pitsidianakis (3): block: add options parameter to bdrv_new_open_driver() block: skip implicit nodes in snapshots, blockjobs block: remove legacy I/O throttling block.c | 41 ++++++++++- block/block-backend.c | 149 +++++++++++++++++++++++++--------------- block/commit.c | 4 +- block/mirror.c | 2 +- block/qapi.c | 14 ++-- block/throttle.c | 8 +++ block/vvfat.c | 2 +- blockdev.c | 67 ++++++++++++++---- include/block/block.h | 2 +- include/block/block_int.h | 15 ++++ include/block/throttle-groups.h | 2 + include/sysemu/block-backend.h | 8 +-- tests/test-throttle.c | 15 ++-- 13 files changed, 235 insertions(+), 94 deletions(-) -- 2.11.0