Blame SOURCES/0009-monitor-Remove-host_net_add-remove-for-Red-Hat-Enter.patch

9bac43
From ce335250360779414304856efa3488cb30393109 Mon Sep 17 00:00:00 2001
9bac43
From: Miroslav Rezanina <mrezanin@redhat.com>
9bac43
Date: Wed, 6 Nov 2013 12:36:04 +0100
9bac43
Subject: monitor: Remove host_net_add/remove for Red Hat Enterprise Linux
9bac43
9bac43
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
9bac43
Message-id: <b28f4458b4470c9a6fcbf5085c3a1bb4d7a0a5eb.1383741033.git.mrezanin@redhat.com>
9bac43
Patchwork-id: 55519
9bac43
O-Subject: [RHEL7 qemu-kvm PATCH v2 4/4] monitor: Remove host_net_add/remove for Red Hat Enterprise Linux
9bac43
Bugzilla: 1010858
9bac43
RH-Acked-by: Michal Novotny <minovotn@redhat.com>
9bac43
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
9bac43
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
9bac43
RH-Acked-by: Eric Blake <eblake@redhat.com>
9bac43
9bac43
From: Miroslav Rezanina <mrezanin@redhat.com>
9bac43
9bac43
This is forwardport of RHEL-6 commit dd94505bd1b826db0c7e155ccee5c24f77987f16:
9bac43
9bac43
    monitor: Remove host_net_add/remove for Red Hat Enterprise Linux
9bac43
9bac43
    The host_net_add/remove commands are replaced by netdev_add/del. Remove
9bac43
    them.
9bac43
9bac43
    Signed-off-by: Amit Shah <amit.shah@redhat.com>
9bac43
9bac43
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9bac43
(cherry picked from commit c9963b7cbcc5a0148ce8c29dfa4c473b27f2fd71)
9bac43
---
9bac43
 hmp-commands.hx | 2 ++
9bac43
 1 file changed, 2 insertions(+)
9bac43
9bac43
diff --git a/hmp-commands.hx b/hmp-commands.hx
9bac43
index 91477c5..3cd63be 100644
9bac43
--- a/hmp-commands.hx
9bac43
+++ b/hmp-commands.hx
9bac43
@@ -1338,6 +1338,7 @@ STEXI
9bac43
 Inject PCIe AER error
9bac43
 ETEXI
9bac43
 
9bac43
+#if 0 /* Disabled for Red Hat Enterprise Linux */
9bac43
     {
9bac43
         .name       = "host_net_add",
9bac43
         .args_type  = "device:s,opts:s?",
9bac43
@@ -1367,6 +1368,7 @@ STEXI
9bac43
 @findex host_net_remove
9bac43
 Remove host VLAN client. Deprecated, please use @code{netdev_del} instead.
9bac43
 ETEXI
9bac43
+#endif
9bac43
 
9bac43
     {
9bac43
         .name       = "netdev_add",
9bac43
-- 
9bac43
1.8.3.1
9bac43