diff options
author | Gleb Natapov | 2010-12-08 12:35:07 +0100 |
---|---|---|
committer | Blue Swirl | 2010-12-11 22:32:47 +0100 |
commit | 2e55e84282c545aeab8f5c9dd52a8073deaf3dbc (patch) | |
tree | 7fdff0cb2027337a402dfb2f1687840c552a8e76 /hw/pcnet-pci.c | |
parent | Change fw_cfg_add_file() to get full file path as a parameter. (diff) | |
download | qemu-2e55e84282c545aeab8f5c9dd52a8073deaf3dbc.tar.gz qemu-2e55e84282c545aeab8f5c9dd52a8073deaf3dbc.tar.xz 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/pcnet-pci.c')
-rw-r--r-- | hw/pcnet-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcnet-pci.c b/hw/pcnet-pci.c index 5c5bd213ea..339a401967 100644 --- a/hw/pcnet-pci.c +++ b/hw/pcnet-pci.c @@ -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; } } |