[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 06/16] qapi: fix example of query-blockstats command
From: |
Victor Toso |
Subject: |
[PATCH v1 06/16] qapi: fix example of query-blockstats command |
Date: |
Tue, 30 Aug 2022 18:15:35 +0200 |
Example output is missing several ',' delimiter between members.
Fix it.
Problem was noticed when trying to load the example into python's json
library.
Signed-off-by: Victor Toso <victortoso@redhat.com>
---
qapi/block-core.json | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 2173e7734a..72592034b1 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1022,10 +1022,10 @@
# "wr_bytes":9786368,
# "wr_operations":751,
# "rd_bytes":122567168,
-# "rd_operations":36772
-# "wr_total_times_ns":313253456
-# "rd_total_times_ns":3465673657
-# "flush_total_times_ns":49653
+# "rd_operations":36772,
+# "wr_total_times_ns":313253456,
+# "rd_total_times_ns":3465673657,
+# "flush_total_times_ns":49653,
# "flush_operations":61,
# "rd_merged":0,
# "wr_merged":0,
@@ -1039,10 +1039,10 @@
# "wr_bytes":9786368,
# "wr_operations":692,
# "rd_bytes":122739200,
-# "rd_operations":36604
+# "rd_operations":36604,
# "flush_operations":51,
-# "wr_total_times_ns":313253456
-# "rd_total_times_ns":3465673657
+# "wr_total_times_ns":313253456,
+# "rd_total_times_ns":3465673657,
# "flush_total_times_ns":49653,
# "rd_merged":0,
# "wr_merged":0,
@@ -1059,10 +1059,10 @@
# "wr_bytes":0,
# "wr_operations":0,
# "rd_bytes":0,
-# "rd_operations":0
+# "rd_operations":0,
# "flush_operations":0,
-# "wr_total_times_ns":0
-# "rd_total_times_ns":0
+# "wr_total_times_ns":0,
+# "rd_total_times_ns":0,
# "flush_total_times_ns":0,
# "rd_merged":0,
# "wr_merged":0,
@@ -1078,10 +1078,10 @@
# "wr_bytes":0,
# "wr_operations":0,
# "rd_bytes":0,
-# "rd_operations":0
+# "rd_operations":0,
# "flush_operations":0,
-# "wr_total_times_ns":0
-# "rd_total_times_ns":0
+# "wr_total_times_ns":0,
+# "rd_total_times_ns":0,
# "flush_total_times_ns":0,
# "rd_merged":0,
# "wr_merged":0,
@@ -1097,10 +1097,10 @@
# "wr_bytes":0,
# "wr_operations":0,
# "rd_bytes":0,
-# "rd_operations":0
+# "rd_operations":0,
# "flush_operations":0,
-# "wr_total_times_ns":0
-# "rd_total_times_ns":0
+# "wr_total_times_ns":0,
+# "rd_total_times_ns":0,
# "flush_total_times_ns":0,
# "rd_merged":0,
# "wr_merged":0,
--
2.37.2
- [PATCH v1 03/16] qapi: fix example of query-spice command, (continued)
- [PATCH v1 04/16] qapi: fix example of query-rocker-of-dpa-flows command, Victor Toso, 2022/08/30
- [PATCH v1 07/16] qapi: fix example of BLOCK_JOB_READY event, Victor Toso, 2022/08/30
- [PATCH v1 08/16] qapi: fix example of NIC_RX_FILTER_CHANGED event, Victor Toso, 2022/08/30
- [PATCH v1 09/16] qapi: fix example of DEVICE_UNPLUG_GUEST_ERROR event, Victor Toso, 2022/08/30
- [PATCH v1 06/16] qapi: fix example of query-blockstats command,
Victor Toso <=
- [PATCH v1 11/16] qapi: fix examples of blockdev-add with qcow2, Victor Toso, 2022/08/30
- [PATCH v1 12/16] qapi: fix example of blockdev-add command, Victor Toso, 2022/08/30
[PATCH v1 14/16] qapi: fix example of query-migrate command, Victor Toso, 2022/08/30
[PATCH v1 10/16] qapi: fix example of MEM_UNPLUG_ERROR event, Victor Toso, 2022/08/30