@@ -2079,13 +2079,20 @@ to cope with initialization race conditions.
ETEXI
DEF("option-rom", HAS_ARG, QEMU_OPTION_option_rom, \
- "-option-rom rom load a file, rom, into the option ROM space\n",
+ "-option-rom rom[,bootindex=idx] load a file, rom, into the option ROM space\n",
QEMU_ARCH_ALL)
STEXI
-@item -option-rom @var{file}
+@item -option-rom @var{file}[,bootindex=@var{bootindex}]
@findex -option-rom
Load the contents of @var{file} as an option ROM.
This option is useful to load things like EtherBoot.
+
+@table @option
+@item bootindex=@var{bootindex}
+Defines which boot index the option rom will be given in boot entry vectors,
+allowing fine-grained selection of devices boot order.
+@end table
+
ETEXI
DEF("clock", HAS_ARG, QEMU_OPTION_clock, \
bootindex option was added to -option-rom switch, but never documented. Signed-off-by: Glauber Costa <glommer@redhat.com> --- qemu-options.hx | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-)