mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 14:08:32 +00:00
Add bootindex for option roms.
Extend -option-rom command to have additional parameter ,bootindex=. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
@@ -310,7 +310,7 @@ static int pci_pcnet_init(PCIDevice *pci_dev)
|
||||
if (!pci_dev->qdev.hotplugged) {
|
||||
static int loaded = 0;
|
||||
if (!loaded) {
|
||||
rom_add_option("pxe-pcnet.bin");
|
||||
rom_add_option("pxe-pcnet.bin", -1);
|
||||
loaded = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user