yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-QMP-Document-throttling-parameters-of-__com.redhat_d.patch

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