yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
9ae3a8
From d3c44f73a61d44e53612fde282466a3479f33739 Mon Sep 17 00:00:00 2001
9ae3a8
From: Amos Kong <akong@redhat.com>
9ae3a8
Date: Thu, 7 Nov 2013 08:38:28 +0100
9ae3a8
Subject: [PATCH 25/25] don't disable ctrl_mac_addr feature for 6.5 machine (RHEL only)
9ae3a8
9ae3a8
RH-Author: Amos Kong <akong@redhat.com>
9ae3a8
Message-id: <1383813508-6353-1-git-send-email-akong@redhat.com>
9ae3a8
Patchwork-id: 55592
9ae3a8
O-Subject: [RHEL-7.0 qemu-kvm PATCH] don't disable ctrl_mac_addr feature for 6.5 machine (RHEL only)
9ae3a8
Bugzilla: 1005039
9ae3a8
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
9ae3a8
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
9ae3a8
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
9ae3a8
9ae3a8
Bugzilla: 1005039
9ae3a8
Brew: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6540840
9ae3a8
Test: tested by myself
9ae3a8
9ae3a8
ctrl_mac_addr is already supported in qemu-kvm 6.5,
9ae3a8
we should not disable this feature for 6.5 machine type.
9ae3a8
9ae3a8
Signed-off-by: Amos Kong <akong@redhat.com>
9ae3a8
---
9ae3a8
 hw/i386/pc_piix.c |    8 ++++----
9ae3a8
 1 files changed, 4 insertions(+), 4 deletions(-)
9ae3a8
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 hw/i386/pc_piix.c |    8 ++++----
9ae3a8
 1 files changed, 4 insertions(+), 4 deletions(-)
9ae3a8
9ae3a8
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
9ae3a8
index 2d8e79f..8bae4c5 100644
9ae3a8
--- a/hw/i386/pc_piix.c
9ae3a8
+++ b/hw/i386/pc_piix.c
9ae3a8
@@ -784,10 +784,6 @@ static QEMUMachine pc_machine_rhel700 = {
9ae3a8
         .value    = stringify(1),\
9ae3a8
     },{\
9ae3a8
         .driver   = "virtio-net-pci",\
9ae3a8
-        .property = "ctrl_mac_addr",\
9ae3a8
-        .value    = "off",\
9ae3a8
-    },{\
9ae3a8
-        .driver   = "virtio-net-pci",\
9ae3a8
         .property = "mq",\
9ae3a8
         .value    = "off",\
9ae3a8
     },{\
9ae3a8
@@ -916,6 +912,10 @@ static QEMUMachine pc_machine_rhel650 = {
9ae3a8
         .driver   = "hda-output",\
9ae3a8
         .property = "mixer",\
9ae3a8
         .value    = "off",\
9ae3a8
+    },{\
9ae3a8
+        .driver   = "virtio-net-pci",\
9ae3a8
+        .property = "ctrl_mac_addr",\
9ae3a8
+        .value    = "off",\
9ae3a8
     }
9ae3a8
 
9ae3a8
 static void pc_init_rhel640(QEMUMachineInitArgs *args)
9ae3a8
-- 
9ae3a8
1.7.1
9ae3a8