From 31958755f9668805a0f22acbbfc95a79a397ebe8 Mon Sep 17 00:00:00 2001 From: Miroslav Rezanina Date: Wed, 6 Nov 2013 12:36:01 +0100 Subject: monitor: Remove pci_add command for Red Hat Enterprise Linux RH-Author: Miroslav Rezanina Message-id: <2e280a8060b33499eae1704843285ceb7f602470.1383741033.git.mrezanin@redhat.com> Patchwork-id: 55518 O-Subject: [RHEL7 qemu-kvm PATCH v2 1/4] monitor: Remove pci_add 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 22aef6c9882ac60bcf3df98e67c4b9b729a90707: monitor: Remove pci_add command for Red Hat Enterprise Linux pci_add is the old way of hot-plugging pci (nic or storage) devices. The newer device_add is the recommended and suggested command. Signed-off-by: Amit Shah Signed-off-by: Miroslav Rezanina diff --git a/hmp-commands.hx b/hmp-commands.hx index f24a72a..0717b89 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1158,7 +1158,7 @@ STEXI Add drive to PCI storage controller. ETEXI -#if defined(CONFIG_PCI_HOTPLUG_OLD) +#if defined(CONFIG_PCI_HOTPLUG_OLD) && 0 /* Disabled for Red Hat Enterprise Linux */ { .name = "pci_add", .args_type = "pci_addr:s,type:s,opts:s?",