thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-Fix-migration-from-rhel6.5-to-rhel7-with-ipxe.patch

9ae3a8
From 5ed11d0f0f9cbd5e8616bd8f6028b8cae45c9103 Mon Sep 17 00:00:00 2001
9ae3a8
From: Orit Wasserman <owasserm@redhat.com>
9ae3a8
Date: Tue, 5 Nov 2013 13:13:44 +0100
9ae3a8
Subject: [PATCH 17/29] Fix migration from rhel6.5 to rhel7 with ipxe
9ae3a8
9ae3a8
RH-Author: Orit Wasserman <owasserm@redhat.com>
9ae3a8
Message-id: <1383657224-18599-4-git-send-email-owasserm@redhat.com>
9ae3a8
Patchwork-id: 55377
9ae3a8
O-Subject: [RHEL-7.0 qemu-kvm 3/3] Fix migration from rhel6.5 to rhel7 with ipxe
9ae3a8
Bugzilla: 997702
9ae3a8
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
9ae3a8
RH-Acked-by: Alex Williamson <alex.williamson@redhat.com>
9ae3a8
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
9ae3a8
RH-Acked-by: Juan Quintela <quintela@redhat.com>
9ae3a8
9ae3a8
Use rhel6 ipxe roms for rhel6 machine types (to have compatible roms sizes
9ae3a8
when migrating)
9ae3a8
9ae3a8
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9ae3a8
---
9ae3a8
 hw/i386/pc_piix.c | 16 ++++++++++++++++
9ae3a8
 1 file changed, 16 insertions(+)
9ae3a8
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 hw/i386/pc_piix.c |   16 ++++++++++++++++
9ae3a8
 1 files changed, 16 insertions(+), 0 deletions(-)
9ae3a8
9ae3a8
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
9ae3a8
index 3f5b913..3a8418e 100644
9ae3a8
--- a/hw/i386/pc_piix.c
9ae3a8
+++ b/hw/i386/pc_piix.c
9ae3a8
@@ -867,6 +867,22 @@ static QEMUMachine pc_machine_rhel700 = {
9ae3a8
         .driver   = "usb-ccid",\
9ae3a8
         .property = "serial",\
9ae3a8
         .value    = "1",\
9ae3a8
+    },{\
9ae3a8
+        .driver   = "ne2k_pci",\
9ae3a8
+        .property = "romfile",\
9ae3a8
+        .value    = "rhel6-ne2k_pci.rom",\
9ae3a8
+    },{\
9ae3a8
+        .driver   = "pcnet",\
9ae3a8
+        .property = "romfile",\
9ae3a8
+        .value    = "rhel6-pcnet.rom",\
9ae3a8
+    },{\
9ae3a8
+        .driver   = "rtl8139",\
9ae3a8
+        .property = "romfile",\
9ae3a8
+        .value    = "rhel6-rtl8139.rom",\
9ae3a8
+    },{\
9ae3a8
+        .driver   = "virtio-net-pci",\
9ae3a8
+        .property = "romfile",\
9ae3a8
+        .value    = "rhel6-virtio.rom",\
9ae3a8
     }
9ae3a8
 
9ae3a8
 static void pc_init_rhel650(QEMUMachineInitArgs *args)
9ae3a8
-- 
9ae3a8
1.7.1
9ae3a8