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

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