cryptospore / rpms / qemu-kvm

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