Skip to content

block: make 'stats-interval' an array of ints instead of a string

Alberto Garcia qemu-devel 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 patch 1 replyApplied

Changes in v2 from the cover letter

- The code that parses the intervals has been moved to a separate function
- Due to the previous change, the loop has been modified a bit and the original 'length' variable no longer exists.
- interval_dict and interval_list are now initialized to NULL

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/1block: make 'stats-interval' an array of ints instead of a stringblockdev.c qapi/block-core.json tests/qemu-iotests/136+61 -390 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH for-2.5 v2 0/1] block: make 'stats-interval' an array of ints instead of a string

Second version of the patch, following all suggestions by Stefan.

v2:
- The code that parses the intervals has been moved to a separate function
- Due to the previous change, the loop has been modified a bit and the original 'length' variable no longer exists.
- interval_dict and interval_list are now initialized to NULL

v1: https://lists.gnu.org/archive/html/qemu-block/2015-11/msg00432.html

Regards,

Berto

Alberto Garcia (1):
block: make 'stats-interval' an array of ints instead of a string

 blockdev.c             | 91 +++++++++++++++++++++++++++++++-------------------
 qapi/block-core.json   |  7 ++--
 tests/qemu-iotests/136 |  2 +-
 3 files changed, 61 insertions(+), 39 deletions(-)
Signature · 1 line
2.6.2