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

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