]> xenbits.xensource.com Git - libvirt.git/commit
qemu: process: Setup disk io throttling for -blockdev
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Jun 2018 15:21:02 +0000 (17:21 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Aug 2018 13:46:06 +0000 (15:46 +0200)
commit37c21ebec39ede42ce319c1645cc2121acf607cf
tree7ab9e6d4a76907032cfc2fc9979369d27617c87b
parent8e40795dc217ad0ad793a89b5faef36cb99a1cb8
qemu: process: Setup disk io throttling for -blockdev

The proper way to do this would be to use the 'throttle' driver but
unfortunately it can't change the 'throttle_group' so we can't provide
feature parity. This hack uses the block_set_io_throttle command to do
so until we can properly replace it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c