mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Switch to efi-enabled nic roms by default
All PCI nics are switched to EFI-enabled roms by default. They are composed from three images (legacy, efi ia32 & efi x86), so classic pxe booting will continue to work. Exception: eepro100 is not switched, it uses a single rom for all emulated eepro100 variants, then goes patch the rom header on the fly with the correct PCI IDs. I doubt that will work as-is with the efi roms. Keep old roms for 1.4+older machine types via compat properties, needed because the efi-enabled roms are larger so the pci rom bar size would change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
8a24d3cb9b
commit
c45e5b5b30
6 changed files with 27 additions and 7 deletions
|
@ -1378,7 +1378,7 @@ static void e1000_class_init(ObjectClass *klass, void *data)
|
|||
|
||||
k->init = pci_e1000_init;
|
||||
k->exit = pci_e1000_uninit;
|
||||
k->romfile = "pxe-e1000.rom";
|
||||
k->romfile = "efi-e1000.rom";
|
||||
k->vendor_id = PCI_VENDOR_ID_INTEL;
|
||||
k->device_id = E1000_DEVID;
|
||||
k->revision = 0x03;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue