From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9hJt-0001Gi-IK for qemu-devel@nongnu.org; Tue, 12 Apr 2011 13:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9hJs-0004xU-KL for qemu-devel@nongnu.org; Tue, 12 Apr 2011 13:24:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9hJs-0004xF-7A for qemu-devel@nongnu.org; Tue, 12 Apr 2011 13:24:04 -0400 From: Glauber Costa Date: Tue, 12 Apr 2011 14:23:56 -0300 Message-Id: <1302629037-16084-2-git-send-email-glommer@redhat.com> In-Reply-To: <1302629037-16084-1-git-send-email-glommer@redhat.com> References: <1302629037-16084-1-git-send-email-glommer@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] document bootindex option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org Cc: aliguori@us.ibm.com, mtosatti@redhat.com, qemu-devel@nongnu.org, avi@redhat.com bootindex option was added to -option-rom switch, but never documented. Signed-off-by: Glauber Costa --- qemu-options.hx | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 18f54d2..96927cc 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -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, \ -- 1.7.4