From 2e55e84282c545aeab8f5c9dd52a8073deaf3dbc Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Wed, 8 Dec 2010 13:35:07 +0200 Subject: Add bootindex for option roms. Extend -option-rom command to have additional parameter ,bootindex=. Signed-off-by: Gleb Natapov Signed-off-by: Blue Swirl --- hw/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/pci.c') diff --git a/hw/pci.c b/hw/pci.c index e7ea907255..24e650a442 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -1832,7 +1832,7 @@ static int pci_add_option_rom(PCIDevice *pdev, bool is_default_rom) if (class == 0x0300) { rom_add_vga(pdev->romfile); } else { - rom_add_option(pdev->romfile); + rom_add_option(pdev->romfile, -1); } return 0; } -- cgit v1.2.3-55-g7522