]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/disable-efi-enable-pxe-roms.patch
Two more fixes
[pve-qemu-kvm.git] / debian / patches / disable-efi-enable-pxe-roms.patch
CommitLineData
6261bfa8
DM
1Index: new/hw/net/e1000.c
2===================================================================
24bb7da3
DM
3--- new.orig/hw/net/e1000.c 2014-11-20 06:45:06.000000000 +0100
4+++ new/hw/net/e1000.c 2014-11-20 07:54:14.000000000 +0100
5@@ -1606,7 +1606,7 @@
6261bfa8 6
58117ea6 7 k->realize = pci_e1000_realize;
6261bfa8
DM
8 k->exit = pci_e1000_uninit;
9- k->romfile = "efi-e1000.rom";
10+ k->romfile = "pxe-e1000.rom";
11 k->vendor_id = PCI_VENDOR_ID_INTEL;
023017f8
DM
12 k->device_id = info->device_id;
13 k->revision = info->revision;
6261bfa8
DM
14Index: new/hw/net/ne2000.c
15===================================================================
24bb7da3
DM
16--- new.orig/hw/net/ne2000.c 2014-11-20 06:45:06.000000000 +0100
17+++ new/hw/net/ne2000.c 2014-11-20 07:54:14.000000000 +0100
18@@ -773,7 +773,7 @@
6261bfa8 19
58117ea6 20 k->realize = pci_ne2000_realize;
6261bfa8
DM
21 k->exit = pci_ne2000_exit;
22- k->romfile = "efi-ne2k_pci.rom",
23+ k->romfile = "pxe-ne2k_pci.rom",
24 k->vendor_id = PCI_VENDOR_ID_REALTEK;
25 k->device_id = PCI_DEVICE_ID_REALTEK_8029;
26 k->class_id = PCI_CLASS_NETWORK_ETHERNET;
27Index: new/hw/net/pcnet-pci.c
28===================================================================
24bb7da3
DM
29--- new.orig/hw/net/pcnet-pci.c 2014-11-20 06:45:06.000000000 +0100
30+++ new/hw/net/pcnet-pci.c 2014-11-20 07:54:14.000000000 +0100
31@@ -367,7 +367,7 @@
6261bfa8 32
58117ea6 33 k->realize = pci_pcnet_realize;
6261bfa8
DM
34 k->exit = pci_pcnet_uninit;
35- k->romfile = "efi-pcnet.rom",
36+ k->romfile = "pxe-pcnet.rom",
37 k->vendor_id = PCI_VENDOR_ID_AMD;
38 k->device_id = PCI_DEVICE_ID_AMD_LANCE;
39 k->revision = 0x10;
40Index: new/hw/net/rtl8139.c
41===================================================================
24bb7da3
DM
42--- new.orig/hw/net/rtl8139.c 2014-11-20 06:45:06.000000000 +0100
43+++ new/hw/net/rtl8139.c 2014-11-20 07:54:14.000000000 +0100
44@@ -3562,7 +3562,7 @@
6261bfa8 45
58117ea6 46 k->realize = pci_rtl8139_realize;
6261bfa8
DM
47 k->exit = pci_rtl8139_uninit;
48- k->romfile = "efi-rtl8139.rom";
49+ k->romfile = "pxe-rtl8139.rom";
50 k->vendor_id = PCI_VENDOR_ID_REALTEK;
51 k->device_id = PCI_DEVICE_ID_REALTEK_8139;
52 k->revision = RTL8139_PCI_REVID; /* >=0x20 is for 8139C+ */
53Index: new/hw/virtio/virtio-pci.c
54===================================================================
24bb7da3
DM
55--- new.orig/hw/virtio/virtio-pci.c 2014-11-20 06:45:06.000000000 +0100
56+++ new/hw/virtio/virtio-pci.c 2014-11-20 07:54:14.000000000 +0100
57@@ -1445,7 +1445,7 @@
6261bfa8
DM
58 PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
59 VirtioPCIClass *vpciklass = VIRTIO_PCI_CLASS(klass);
60
61- k->romfile = "efi-virtio.rom";
62+ k->romfile = "pxe-virtio.rom";
63 k->vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET;
64 k->device_id = PCI_DEVICE_ID_VIRTIO_NET;
65 k->revision = VIRTIO_PCI_ABI_VERSION;