thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-HMP-Fix-documentation-of-__com.redhat.drive_add.patch

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