From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Marcelo Arenas Belon Subject: [PATCH] qemu: document "boot" option for "drive" flag Date: Fri, 30 May 2008 20:21:56 -0500 Message-ID: <20080531012156.GA6851@tapir> References: <200805301410.13649.fjwcash@gmail.com> <90eb1dc70805301450v2458d5a3m5a24374c4a63df56@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Freddie Cash , kvm@vger.kernel.org To: Javier Guerra Return-path: Received: from tapir.sajinet.com.pe ([66.139.79.212]:36446 "EHLO tapir.sajinet.com.pe" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755854AbYEaB2d (ORCPT ); Fri, 30 May 2008 21:28:33 -0400 Content-Disposition: inline In-Reply-To: <90eb1dc70805301450v2458d5a3m5a24374c4a63df56@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: complement 982e9b725e32f58158b6b9968f04e3377f52e63 with some basic documentation, extracted from the commit message. Signed-off-by: Carlo Marcelo Arenas Belon --- qemu/qemu-doc.texi | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/qemu/qemu-doc.texi b/qemu/qemu-doc.texi index 7a24676..fcb220f 100644 --- a/qemu/qemu-doc.texi +++ b/qemu/qemu-doc.texi @@ -266,6 +266,8 @@ These options have the same definition as they have in @option{-hdachs}. Specify which disk @var{format} will be used rather than detecting the format. Can be used to specifiy format=raw to avoid interpreting an untrusted format header. +@item boot=@var{boot} +@var{boot} if "on" allows to enable extboot for a given drive so it can be used as a boot drive. @end table Instead of @option{-cdrom} you can use: @@ -297,6 +299,12 @@ You can connect a SCSI disk with unit ID 6 on the bus #0: qemu -drive file=file,if=scsi,bus=0,unit=6 @end example +To boot from a SCSI disk, one would use: + +@example +qemu -drive file=file,if=scsi,boot=on +@end example + Instead of @option{-fda}, @option{-fdb}, you can use: @example qemu -drive file=file,index=0,if=floppy -- 1.5.3.7