thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
218e99
From 8ab120f6ad6629e826ded6d8f910c91f441bafd4 Mon Sep 17 00:00:00 2001
218e99
From: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Date: Wed, 6 Nov 2013 12:36:02 +0100
218e99
Subject: [PATCH 67/81] monitor: Remove pci_del command for Red Hat Enterprise Linux
218e99
218e99
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Message-id: <6e7cc8214fdc2fd6a95a7446c667bf36fc13f3ce.1383741033.git.mrezanin@redhat.com>
218e99
Patchwork-id: 55517
218e99
O-Subject: [RHEL7 qemu-kvm PATCH v2 2/4] monitor: Remove pci_del command for Red Hat Enterprise Linux
218e99
Bugzilla: 1010858
218e99
RH-Acked-by: Michal Novotny <minovotn@redhat.com>
218e99
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
218e99
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
218e99
RH-Acked-by: Eric Blake <eblake@redhat.com>
218e99
218e99
From: Miroslav Rezanina <mrezanin@redhat.com>
218e99
218e99
This is forwardport of RHEL-6 commit 609b9f16a7443e86e55a3cdc76a484253e50267b:
218e99
218e99
    monitor: Remove pci_del command for Red Hat Enterprise Linux
218e99
218e99
    pci_del is the old way of hot-unplugging pci (nic or storage) devices.
218e99
    The newer device_del is the recommended and suggested command.
218e99
218e99
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
---
218e99
 hmp-commands.hx | 2 +-
218e99
 1 file changed, 1 insertion(+), 1 deletion(-)
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
---
218e99
 hmp-commands.hx |    2 +-
218e99
 1 files changed, 1 insertions(+), 1 deletions(-)
218e99
218e99
diff --git a/hmp-commands.hx b/hmp-commands.hx
218e99
index d5ec349..14ba536 100644
218e99
--- a/hmp-commands.hx
218e99
+++ b/hmp-commands.hx
218e99
@@ -1105,7 +1105,7 @@ STEXI
218e99
 Hot-add PCI device.
218e99
 ETEXI
218e99
 
218e99
-#if defined(TARGET_I386)
218e99
+#if defined(TARGET_I386) && 0 /* Disabled for Red Hat Enterprise Linux */
218e99
     {
218e99
         .name       = "pci_del",
218e99
         .args_type  = "pci_addr:s",
218e99
-- 
218e99
1.7.1
218e99