Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM8CT-0001P5-8m for qemu-devel@nongnu.org; Wed, 01 Jul 2009 18:22:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM8CO-0001M9-I3 for qemu-devel@nongnu.org; Wed, 01 Jul 2009 18:22:44 -0400 Received: from [199.232.76.173] (port=44731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM8CO-0001M5-9S for qemu-devel@nongnu.org; Wed, 01 Jul 2009 18:22:40 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:35435) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM8CN-0006HX-NE for qemu-devel@nongnu.org; Wed, 01 Jul 2009 18:22:40 -0400 Resent-To: Anthony Liguori Resent-Message-Id: <4A4BE1AE.90308@web.de> From: Jan Kiszka Date: Thu, 02 Jul 2009 00:19:02 +0200 Message-ID: <20090701221902.22031.45335.stgit@mchn012c.ww002.siemens.net> In-Reply-To: <20090701221901.22031.39985.stgit@mchn012c.ww002.siemens.net> References: <20090701221901.22031.39985.stgit@mchn012c.ww002.siemens.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH 7/7] Update boot option documentation List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org Signed-off-by: Jan Kiszka --- qemu-options.hx | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index a94f9d3..d3a20f5 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -221,11 +221,30 @@ Use 'file' as a parallel flash image. ETEXI DEF("boot", HAS_ARG, QEMU_OPTION_boot, - "-boot [a|c|d|n] boot on floppy (a), hard disk (c), CD-ROM (d), or network (n)\n") + "-boot [order=drives][,once=drives][,menu=on|off]\n" + " 'drives': floppy (a), hard disk (c), CD-ROM (d), network (n)\n") STEXI -@item -boot [a|c|d|n] -Boot on floppy (a), hard disk (c), CD-ROM (d), or Etherboot (n). Hard disk boot -is the default. +@item -boot [order=@var{drives}][,once=@var{drives}][,menu=on|off] + +Specify boot order @var{drives} as a string of drive letters. Valid +drive letters depend on the target achitecture. The x86 PC uses: a, b +(floppy 1 and 2), c (first hard disk), d (first CD-ROM), n-p (Etherboot +from network adapter 1-4), hard disk boot is the default. To apply a +particular boot order only on the first startup, specify it via +@option{once}. + +Interactive boot menus/prompts can be enabled via @option{menu=on} as far +as firmware/BIOS supports them. The default is non-interactive boot. + +@example +# try to boot from network first, then from hard disk +qemu -boot order=nc +# boot from CD-ROM first, switch back to default order after reboot +qemu -boot once=d +@end example + +Note: The legacy format '-boot @var{drives}' is still supported but its +use is discouraged as it may be removed from future versions. ETEXI DEF("snapshot", 0, QEMU_OPTION_snapshot,