yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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