Blame SOURCES/0008-monitor-Remove-usb_add-del-commands-for-Red-Hat-Ente.patch

4a2fec
From d0bc2e633e1ec0b84e437605e974bd511241a130 Mon Sep 17 00:00:00 2001
4a2fec
From: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
Date: Wed, 6 Nov 2013 12:36:03 +0100
4a2fec
Subject: monitor: Remove usb_add/del commands for Red Hat Enterprise Linux
4a2fec
4a2fec
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
Message-id: <daf2ca0042519cd01a6a68d30eb76bdd8b88c9f2.1383741033.git.mrezanin@redhat.com>
4a2fec
Patchwork-id: 55520
4a2fec
O-Subject: [RHEL7 qemu-kvm PATCH v2 3/4] monitor: Remove usb_add/del commands for Red Hat Enterprise Linux
4a2fec
Bugzilla: 1010858
4a2fec
RH-Acked-by: Michal Novotny <minovotn@redhat.com>
4a2fec
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
4a2fec
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
4a2fec
RH-Acked-by: Eric Blake <eblake@redhat.com>
4a2fec
4a2fec
From: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
4a2fec
This is forwardport of RHEL-6 commit 754e6292b4ab41c8848171555af830ab7284f4d3:
4a2fec
4a2fec
    monitor: Remove usb_add/del commands for Red Hat Enterprise Linux
4a2fec
4a2fec
    The usb_add/del commands have been obsoleted by the device_add/del
4a2fec
    commands.
4a2fec
4a2fec
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
4a2fec
4a2fec
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
(cherry picked from commit 23698561a70052b5d3cd376d66ec5889605e0559)
4a2fec
---
4a2fec
 hmp-commands.hx | 2 ++
4a2fec
 1 file changed, 2 insertions(+)
4a2fec
4a2fec
diff --git a/hmp-commands.hx b/hmp-commands.hx
4a2fec
index cb00a3e..91477c5 100644
4a2fec
--- a/hmp-commands.hx
4a2fec
+++ b/hmp-commands.hx
4a2fec
@@ -683,6 +683,7 @@ STEXI
4a2fec
 Compute the checksum of a memory region.
4a2fec
 ETEXI
4a2fec
 
4a2fec
+#if 0 /* Disabled for Red Hat Enterprise Linux */
4a2fec
     {
4a2fec
         .name       = "usb_add",
4a2fec
         .args_type  = "devname:s",
4a2fec
@@ -715,6 +716,7 @@ hub. @var{devname} has the syntax @code{bus.addr}. Use the monitor
4a2fec
 command @code{info usb} to see the devices you can remove. This
4a2fec
 command is deprecated, please use @code{device_del} instead.
4a2fec
 ETEXI
4a2fec
+#endif
4a2fec
 
4a2fec
     {
4a2fec
         .name       = "device_add",
4a2fec
-- 
4a2fec
1.8.3.1
4a2fec