yeahuh / rpms / qemu-kvm

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