|
|
619821 |
From cb8c7690048946dd298371876093997f07785269 Mon Sep 17 00:00:00 2001
|
|
|
619821 |
From: Markus Armbruster <armbru@redhat.com>
|
|
|
619821 |
Date: Tue, 7 Feb 2017 14:56:10 +0100
|
|
|
619821 |
Subject: [PATCH 11/11] HMP: Fix documentation of __com.redhat.drive_add
|
|
|
619821 |
|
|
|
619821 |
RH-Author: Markus Armbruster <armbru@redhat.com>
|
|
|
619821 |
Message-id: <1486479370-24026-3-git-send-email-armbru@redhat.com>
|
|
|
619821 |
Patchwork-id: 73592
|
|
|
619821 |
O-Subject: [RHEL-7.4 qemu-kvm PATCH 2/2] HMP: Fix documentation of __com.redhat.drive_add
|
|
|
619821 |
Bugzilla: 1419898
|
|
|
619821 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
619821 |
RH-Acked-by: Fam Zheng <famz@redhat.com>
|
|
|
619821 |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
619821 |
|
|
|
619821 |
It's similar to -drive if=none, not -device if=none. Screwed up in
|
|
|
619821 |
RHEL-6.0 commit 545d0d8, forward-ported to RHEL-7.0 in commit c18bb50.
|
|
|
619821 |
|
|
|
619821 |
Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
|
|
619821 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
619821 |
---
|
|
|
619821 |
hmp-commands.hx | 4 ++--
|
|
|
619821 |
qmp-commands.hx | 4 ++--
|
|
|
619821 |
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
619821 |
|
|
|
619821 |
diff --git a/hmp-commands.hx b/hmp-commands.hx
|
|
|
619821 |
index a8ba626..5356c4c 100644
|
|
|
619821 |
--- a/hmp-commands.hx
|
|
|
619821 |
+++ b/hmp-commands.hx
|
|
|
619821 |
@@ -1105,7 +1105,7 @@ ETEXI
|
|
|
619821 |
.name = RFQDN_REDHAT "drive_add",
|
|
|
619821 |
.args_type = "simple-drive:O",
|
|
|
619821 |
.params = "id=name,[file=file][,format=f][,media=d]...",
|
|
|
619821 |
- .help = "Create a drive similar to -device if=none.",
|
|
|
619821 |
+ .help = "Create a drive similar to -drive if=none.",
|
|
|
619821 |
.user_print = monitor_user_noop,
|
|
|
619821 |
.mhandler.cmd_new = simple_drive_add,
|
|
|
619821 |
},
|
|
|
619821 |
@@ -1113,7 +1113,7 @@ ETEXI
|
|
|
619821 |
STEXI
|
|
|
619821 |
@item __com.redhat_drive_add
|
|
|
619821 |
@findex __com.redhat_drive_add
|
|
|
619821 |
-Create a drive similar to -device if=none.
|
|
|
619821 |
+Create a drive similar to -drive if=none.
|
|
|
619821 |
ETEXI
|
|
|
619821 |
|
|
|
619821 |
#if defined(TARGET_I386) && 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
619821 |
diff --git a/qmp-commands.hx b/qmp-commands.hx
|
|
|
619821 |
index 9522c44..4a89c24 100644
|
|
|
619821 |
--- a/qmp-commands.hx
|
|
|
619821 |
+++ b/qmp-commands.hx
|
|
|
619821 |
@@ -110,7 +110,7 @@ EQMP
|
|
|
619821 |
.name = RFQDN_REDHAT "drive_add",
|
|
|
619821 |
.args_type = "simple-drive:O",
|
|
|
619821 |
.params = "id=name,[file=file][,format=f][,media=d]...",
|
|
|
619821 |
- .help = "Create a drive similar to -device if=none.",
|
|
|
619821 |
+ .help = "Create a drive similar to -drive if=none.",
|
|
|
619821 |
.user_print = monitor_user_noop,
|
|
|
619821 |
.mhandler.cmd_new = simple_drive_add,
|
|
|
619821 |
},
|
|
|
619821 |
@@ -119,7 +119,7 @@ SQMP
|
|
|
619821 |
__com.redhat_drive_add
|
|
|
619821 |
----------------------
|
|
|
619821 |
|
|
|
619821 |
-Create a drive similar to -device if=none.
|
|
|
619821 |
+Create a drive similar to -drive if=none.
|
|
|
619821 |
|
|
|
619821 |
Arguments:
|
|
|
619821 |
|
|
|
619821 |
--
|
|
|
619821 |
1.8.3.1
|
|
|
619821 |
|