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