Blame SOURCES/kvm-monitor-Remove-host_net_add-remove-for-Red-Hat-Enterprise-Linux.patch

8be556
From 60a62da5d2d65eae307982ee863bcf0f6f373e29 Mon Sep 17 00:00:00 2001
d81766
From: Miroslav Rezanina <mrezanin@redhat.com>
d81766
Date: Wed, 6 Nov 2013 12:36:04 +0100
d81766
Subject: monitor: Remove host_net_add/remove for Red Hat Enterprise Linux
d81766
d81766
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
d81766
Message-id: <b28f4458b4470c9a6fcbf5085c3a1bb4d7a0a5eb.1383741033.git.mrezanin@redhat.com>
d81766
Patchwork-id: 55519
d81766
O-Subject: [RHEL7 qemu-kvm PATCH v2 4/4] monitor: Remove host_net_add/remove 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 dd94505bd1b826db0c7e155ccee5c24f77987f16:
d81766
d81766
    monitor: Remove host_net_add/remove for Red Hat Enterprise Linux
d81766
d81766
    The host_net_add/remove commands are replaced by netdev_add/del. Remove
d81766
    them.
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
8be556
index 008440b..637e133 100644
d81766
--- a/hmp-commands.hx
d81766
+++ b/hmp-commands.hx
8be556
@@ -1191,6 +1191,7 @@ STEXI
d81766
 Inject PCIe AER error
d81766
 ETEXI
d81766
 
d81766
+#if 0 /* Disabled for Red Hat Enterprise Linux */
d81766
     {
d81766
         .name       = "host_net_add",
d81766
         .args_type  = "device:s,opts:s?",
8be556
@@ -1220,6 +1221,7 @@ STEXI
d81766
 @findex host_net_remove
d81766
 Remove host VLAN client.
d81766
 ETEXI
d81766
+#endif
d81766
 
d81766
     {
d81766
         .name       = "netdev_add",