yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

218e99
From 35ba7fa1285b9350fe4f9507b314ef11b74064eb Mon Sep 17 00:00:00 2001
218e99
From: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Date: Wed, 6 Nov 2013 12:36:04 +0100
218e99
Subject: [PATCH 69/81] monitor: Remove host_net_add/remove for Red Hat Enterprise Linux
218e99
218e99
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Message-id: <b28f4458b4470c9a6fcbf5085c3a1bb4d7a0a5eb.1383741033.git.mrezanin@redhat.com>
218e99
Patchwork-id: 55519
218e99
O-Subject: [RHEL7 qemu-kvm PATCH v2 4/4] monitor: Remove host_net_add/remove 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 dd94505bd1b826db0c7e155ccee5c24f77987f16:
218e99
218e99
    monitor: Remove host_net_add/remove for Red Hat Enterprise Linux
218e99
218e99
    The host_net_add/remove commands are replaced by netdev_add/del. Remove
218e99
    them.
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, 2 insertions(+)
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
---
218e99
 hmp-commands.hx |    2 ++
218e99
 1 files changed, 2 insertions(+), 0 deletions(-)
218e99
218e99
diff --git a/hmp-commands.hx b/hmp-commands.hx
218e99
index 74774bd..c881e01 100644
218e99
--- a/hmp-commands.hx
218e99
+++ b/hmp-commands.hx
218e99
@@ -1148,6 +1148,7 @@ STEXI
218e99
 Inject PCIe AER error
218e99
 ETEXI
218e99
 
218e99
+#if 0 /* Disabled for Red Hat Enterprise Linux */
218e99
     {
218e99
         .name       = "host_net_add",
218e99
         .args_type  = "device:s,opts:s?",
218e99
@@ -1175,6 +1176,7 @@ STEXI
218e99
 @findex host_net_remove
218e99
 Remove host VLAN client.
218e99
 ETEXI
218e99
+#endif
218e99
 
218e99
     {
218e99
         .name       = "netdev_add",
218e99
-- 
218e99
1.7.1
218e99