> What is the command line to use for avg bps = 1MB/s, max bps = 0?

On the monitor it would be:

block_set_io_throttle 1048576 0 0 0 0 0

When configuring throttle on the command line it would be:

-drive file=foo.raw,if=virtio,cache=none,bps=1048576

Also remember that the code is setting bps_max = avg/10 to please guest cfq
schedulers so a little burst will be done at startup.

Best regards

Benoît

Reply via email to