Skip to contentSkip to conversation

qapi: drop x- from x-block-latency-histogram-set

PATCH In review Vladimir Sementsov-Ogievskiy 2 participants 3 messages Jun 20, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qapi: drop x- from x-block-latency-histogram-set

Libvirt part is ready, let's drop x- prefix.

---
 qapi/block-core.json | 4 ++--
 blockdev.c           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
qapi/block-core.json +2 -2
index cc3ede0630..dfaa050651 100644
@@ -483,7 +483,7 @@
   'data': {'boundaries': ['uint64'], 'bins': ['uint64'] } }
 
 ##
-# @x-block-latency-histogram-set:
+# @block-latency-histogram-set:
 #
 # Manage read, write and flush latency histograms for the device.
 #
@@ -547,7 +547,7 @@
 #      "arguments": { "device": "drive0" } }
 # <- { "return": {} }
 ##
-{ 'command': 'x-block-latency-histogram-set',
+{ 'command': 'block-latency-histogram-set',
   'data': {'device': 'str',
            '*boundaries': ['uint64'],
            '*boundaries-read': ['uint64'],
blockdev.c +1 -1
index 58d7570932..6d4ae77041 100644
@@ -4299,7 +4299,7 @@ void qmp_x_blockdev_set_iothread(const char *node_name, StrOrNull *iothread,
     aio_context_release(old_context);
 }
 
-void qmp_x_block_latency_histogram_set(
+void qmp_block_latency_histogram_set(
     const char *device,
     bool has_boundaries, uint64List *boundaries,
     bool has_boundaries_read, uint64List *boundaries_read,
Signature · 1 line
2.11.1
#1 lore raw
Quoted 1 line · Vladimir Sementsov-Ogievskiy

Libvirt part is ready, let's drop x- prefix.

libvirt patches will be sent soon I hope.

Quoted 42 lines
---
  qapi/block-core.json | 4 ++--
  blockdev.c           | 2 +-
  2 files changed, 3 insertions(+), 3 deletions(-)
qapi/block-core.json +2 -2
index cc3ede0630..dfaa050651 100644
@@ -483,7 +483,7 @@
    'data': {'boundaries': ['uint64'], 'bins': ['uint64'] } }
 
  ##
-# @x-block-latency-histogram-set:
+# @block-latency-histogram-set:
  #
  # Manage read, write and flush latency histograms for the device.
  #
@@ -547,7 +547,7 @@
  #      "arguments": { "device": "drive0" } }
  # <- { "return": {} }
  ##
-{ 'command': 'x-block-latency-histogram-set',
+{ 'command': 'block-latency-histogram-set',
    'data': {'device': 'str',
             '*boundaries': ['uint64'],
             '*boundaries-read': ['uint64'],
blockdev.c +1 -1
index 58d7570932..6d4ae77041 100644
@@ -4299,7 +4299,7 @@ void qmp_x_blockdev_set_iothread(const char *node_name, StrOrNull *iothread,
      aio_context_release(old_context);
  }
 
-void qmp_x_block_latency_histogram_set(
+void qmp_block_latency_histogram_set(
      const char *device,
      bool has_boundaries, uint64List *boundaries,
      bool has_boundaries_read, uint64List *boundaries_read,
Signature · 2 lines
Best regards,
Vladimir
#2 lore raw
Quoted 5 lines · Vladimir Sementsov-Ogievskiy
Quoted 1 line · Vladimir Sementsov-Ogievskiy

Libvirt part is ready, let's drop x- prefix.

libvirt patches will be sent soon I hope.

OK, can you ping this patch with a link to the series when it is posted?

Thank you,
--js

Quoted 43 lines
Quoted 41 lines

---
  qapi/block-core.json | 4 ++--
  blockdev.c           | 2 +-

  2 files changed, 3 insertions(+), 3 deletions(-)
qapi/block-core.json +2 -2
index cc3ede0630..dfaa050651 100644
@@ -483,7 +483,7 @@
     'data': {'boundaries': ['uint64'], 'bins': ['uint64'] } }
     ##
-# @x-block-latency-histogram-set:
+# @block-latency-histogram-set:
   #
   # Manage read, write and flush latency histograms for the device.
   #
@@ -547,7 +547,7 @@
   #      "arguments": { "device": "drive0" } }
   # <- { "return": {} }
   ##
-{ 'command': 'x-block-latency-histogram-set',
+{ 'command': 'block-latency-histogram-set',
     'data': {'device': 'str',
              '*boundaries': ['uint64'],
              '*boundaries-read': ['uint64'],
blockdev.c +0 -0
index 58d7570932..6d4ae77041 100644
@@ -4299,7 +4299,7 @@ void qmp_x_blockdev_set_iothread(const char
 *node_name, StrOrNull *iothread,
       aio_context_release(old_context);
   }

  -void qmp_x_block_latency_histogram_set(
+void qmp_block_latency_histogram_set(
      const char *device,
      bool has_boundaries, uint64List *boundaries, bool has_boundaries_read, uint64List *boundaries_read,