From 1db4e1e18919e91aedd91d3f22eb8e24f5e9ed34 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 17 Dec 2013 06:46:38 +0100 Subject: [PATCH 151/212] QMP: Document throttling parameters of __com.redhat_drive_add RH-Author: Markus Armbruster Message-id: <1387262799-10350-6-git-send-email-armbru@redhat.com> Patchwork-id: 56296 O-Subject: [PATCH v2 5/6] QMP: Document throttling parameters of __com.redhat_drive_add Bugzilla: 889051 RH-Acked-by: Fam Zheng RH-Acked-by: Stefan Hajnoczi RH-Acked-by: Luiz Capitulino From: Markus Armbruster The previous commit copied the code from RHEL-6, including the throttling parameters added in RHEL-6 commit ea4348a "block: Allow IO throttling fields in __com.redhat_drive_add". That commit neglected to update documentation, then in qemu-monitor.hx, now in qmp-commands.hx. Update it, so that qmp-commands.txt is complete. Signed-off-by: Markus Armbruster --- qmp-commands.hx | 6 ++++++ 1 file changed, 6 insertions(+) Signed-off-by: Michal Novotny --- qmp-commands.hx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index b6080d5..5312447 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -137,6 +137,12 @@ Arguments: - "serial": Drive serial number (json-string, optional) - "snapshot": Enable snapshot mode (json-bool, optional) - "copy-on-read": Enable copy-on-read mode (json-bool, optional) +- "bps": total throughput limit in bytes per second is specified +- "bps_rd": read throughput limit in bytes per second is specified +- "bps_wr": write throughput limit in bytes per second is specified +- "iops": total I/O operations per second is specified +- "iops_rd": read I/O operations per second is specified +- "iops_wr": write I/O operations per second is specified Example: -- 1.7.1