0a122b
From b7f8490681d9bfb5c47f250323e369bed1645aac Mon Sep 17 00:00:00 2001
0a122b
From: Eduardo Habkost <ehabkost@redhat.com>
0a122b
Date: Fri, 7 Mar 2014 18:37:48 +0100
0a122b
Subject: [PATCH 08/16] pc: Add RHEL6 e1000 gPXE image
0a122b
0a122b
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
0a122b
Message-id: <1394217468-2864-3-git-send-email-ehabkost@redhat.com>
0a122b
Patchwork-id: 58050
0a122b
O-Subject: [RHEL7 qemu-kvm PATCH 2/2] pc: Add RHEL6 e1000 gPXE image
0a122b
Bugzilla: 1073774
0a122b
RH-Acked-by: Juan Quintela <quintela@redhat.com>
0a122b
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
0a122b
RH-Acked-by: Amos Kong <akong@redhat.com>
0a122b
0a122b
Bugzilla: 1073774
0a122b
Brew scratch build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=7157997
0a122b
0a122b
The fix for bz#997702 didn't have the RHEL6 e1000 ROM. Add the e1000-0x100e.rom
0a122b
file from gpxe-roms-qemu-0.9.7-6.9.el6.noarch.rpm.
0a122b
0a122b
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
0a122b
---
0a122b
 hw/i386/pc_piix.c             |   4 ++++
0a122b
 redhat/Makefile.common        |   2 +-
0a122b
 redhat/qemu-kvm.spec.template |   3 +++
0a122b
 redhat/rhel6-e1000.rom        | Bin 0 -> 69120 bytes
0a122b
 4 files changed, 8 insertions(+), 1 deletion(-)
0a122b
 create mode 100644 redhat/rhel6-e1000.rom
0a122b
0a122b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
---
0a122b
 hw/i386/pc_piix.c             |    4 ++++
0a122b
 redhat/Makefile.common        |    2 +-
0a122b
 redhat/qemu-kvm.spec.template |    3 +++
0a122b
 redhat/rhel6-e1000.rom        |  Bin 0 -> 69120 bytes
0a122b
 4 files changed, 8 insertions(+), 1 deletions(-)
0a122b
 create mode 100644 redhat/rhel6-e1000.rom
0a122b
0a122b
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
0a122b
index 98a5253..6773fff 100644
0a122b
--- a/hw/i386/pc_piix.c
0a122b
+++ b/hw/i386/pc_piix.c
0a122b
@@ -897,6 +897,10 @@ static QEMUMachine pc_machine_rhel700 = {
0a122b
         .property = "romfile",\
0a122b
         .value    = "rhel6-rtl8139.rom",\
0a122b
     },{\
0a122b
+        .driver   = "e1000",\
0a122b
+        .property = "romfile",\
0a122b
+        .value    = "rhel6-e1000.rom",\
0a122b
+    },{\
0a122b
         .driver   = "virtio-net-pci",\
0a122b
         .property = "romfile",\
0a122b
         .value    = "rhel6-virtio.rom",\
0a122b
-- 
0a122b
1.7.1