From 281e06456233e258735f98561fdeb309f3c3c485 Mon Sep 17 00:00:00 2001 From: Miroslav Rezanina Date: Wed, 6 Nov 2013 12:36:03 +0100 Subject: monitor: Remove usb_add/del commands for Red Hat Enterprise Linux RH-Author: Miroslav Rezanina Message-id: Patchwork-id: 55520 O-Subject: [RHEL7 qemu-kvm PATCH v2 3/4] monitor: Remove usb_add/del commands for Red Hat Enterprise Linux Bugzilla: 1010858 RH-Acked-by: Michal Novotny RH-Acked-by: Paolo Bonzini RH-Acked-by: Orit Wasserman RH-Acked-by: Eric Blake From: Miroslav Rezanina This is forwardport of RHEL-6 commit 754e6292b4ab41c8848171555af830ab7284f4d3: monitor: Remove usb_add/del commands for Red Hat Enterprise Linux The usb_add/del commands have been obsoleted by the device_add/del commands. Signed-off-by: Amit Shah Signed-off-by: Miroslav Rezanina diff --git a/hmp-commands.hx b/hmp-commands.hx index 6089b01..008440b 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -625,6 +625,7 @@ STEXI Compute the checksum of a memory region. ETEXI +#if 0 /* Disabled for Red Hat Enterprise Linux */ { .name = "usb_add", .args_type = "devname:s", @@ -655,6 +656,7 @@ Remove the USB device @var{devname} from the QEMU virtual USB hub. @var{devname} has the syntax @code{bus.addr}. Use the monitor command @code{info usb} to see the devices you can remove. ETEXI +#endif { .name = "device_add",