Skip to content

throttle: improve command-line parameter documentation

Stefan Hajnoczi qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 8 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v11 patch 5 repliesSuperseded

Changes in v3 from the cover letter

* Added Patch 2 to fix invalid test parameters
* Switched to nicer max < avg check [Berto]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3qemu-options: explain disk I/O throttling optionsqemu-options.hx+24 -02 replies
2/3throttle: do not use invalid config in testtests/test-throttle.c+4 -41 reply
3/3throttle: make throttle_config(throttle_get_config()) symmetrictests/test-throttle.c util/throttle.c+18 -41 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAlberto GarciaGreg Kurz
1/3R-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/3] throttle: improve command-line parameter documentation

v3:
* Added Patch 2 to fix invalid test parameters
* Switched to nicer max < avg check [Berto]
v2:
* Fixed s/bps/iops/ copy-paste error in Patch 1 [Berto]
* Rephrased warning about guest hangs and errors [Berto]
* Added Patch 2 to hide the internal .max value from the monitor

Patch 1 fleshes out the documentation for I/O throttling command-line parameters.

Patch 2 hides an internal value that was being exposed to users via the monitor and caused confusion.

I ended up not adding QMP-style throttling.* names to the command-line documentation because the names are very long and unlikely to be used. I couldn't see a nice way of adding them while still keeping the documentation readable.

Stefan Hajnoczi (3):
qemu-options: explain disk I/O throttling options
throttle: do not use invalid config in test
throttle: make throttle_config(throttle_get_config()) symmetric

 tests/test-throttle.c |  8 ++++----
 util/throttle.c       | 14 ++++++++++++++
 qemu-options.hx       | 24 ++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 4 deletions(-)
Signature · 1 line
2.9.3