summaryrefslogtreecommitdiff
path: root/hw/ne2000.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-12-08 13:35:07 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-12-11 21:32:47 +0000
commit2e55e84282c545aeab8f5c9dd52a8073deaf3dbc (patch)
tree7fdff0cb2027337a402dfb2f1687840c552a8e76 /hw/ne2000.c
parentde1f34cb6351c028ebcc61fea9fa78008ca1a529 (diff)
downloadqemu-2e55e84282c545aeab8f5c9dd52a8073deaf3dbc.tar.gz
qemu-2e55e84282c545aeab8f5c9dd52a8073deaf3dbc.tar.bz2
qemu-2e55e84282c545aeab8f5c9dd52a8073deaf3dbc.zip
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>
Diffstat (limited to 'hw/ne2000.c')
-rw-r--r--hw/ne2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c
index a030106fa5..5966359852 100644
--- a/hw/ne2000.c
+++ b/hw/ne2000.c
@@ -742,7 +742,7 @@ static int pci_ne2000_init(PCIDevice *pci_dev)
if (!pci_dev->qdev.hotplugged) {
static int loaded = 0;
if (!loaded) {
- rom_add_option("pxe-ne2k_pci.bin");
+ rom_add_option("pxe-ne2k_pci.bin", -1);
loaded = 1;
}
}