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