From dfea89c27d480715b4d73b58c35064cc1b426995 Mon Sep 17 00:00:00 2001 From: Miroslav Rezanina Date: Wed, 6 Nov 2013 12:36:02 +0100 Subject: [PATCH 123/212] monitor: Remove pci_del command for Red Hat Enterprise Linux RH-Author: Miroslav Rezanina Message-id: <6e7cc8214fdc2fd6a95a7446c667bf36fc13f3ce.1383741033.git.mrezanin@redhat.com> Patchwork-id: 55517 O-Subject: [RHEL7 qemu-kvm PATCH v2 2/4] monitor: Remove pci_del command 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 609b9f16a7443e86e55a3cdc76a484253e50267b: monitor: Remove pci_del command for Red Hat Enterprise Linux pci_del is the old way of hot-unplugging pci (nic or storage) devices. The newer device_del is the recommended and suggested command. Signed-off-by: Amit Shah Signed-off-by: Miroslav Rezanina --- hmp-commands.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Miroslav Rezanina --- hmp-commands.hx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hmp-commands.hx b/hmp-commands.hx index 0717b89..68153b1 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1174,7 +1174,7 @@ STEXI Hot-add PCI device. ETEXI -#if defined(CONFIG_PCI_HOTPLUG_OLD) +#if defined(CONFIG_PCI_HOTPLUG_OLD) && 0 /* Disabled for Red Hat Enterprise Linux */ { .name = "pci_del", .args_type = "pci_addr:s", -- 1.7.1