Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: "Volker Rümelin" <volker.ruemelin@t-online.de>
To: <kvm@vger.kernel.org>
Subject: [PATCH] boot=on option is missing in qemu-options.hx. Libvirt needs this information.
Date: Tue, 7 Apr 2009 23:22:47 +0200	[thread overview]
Message-ID: <3CDD25F8D04646A5B79DA23264B7202D@power> (raw)

Libvirt parses qemu-kvm -help output for boot=on. Without this it's not possible to boot from a virtio block device.

--- kvm-85rc3/qemu/qemu-options.hx.org
+++ kvm-85rc3/qemu/qemu-options.hx
@@ -77,6 +77,7 @@
     "-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]\n"
     "       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]\n"
     "       [,cache=writethrough|writeback|none][,format=f][,serial=s]\n"
+    "       [,boot=on|off]\n"
     "                use 'file' as a drive image\n")
 STEXI
 @item -drive @var{option}[,@var{option}[,@var{option}[,...]]]
@@ -111,6 +112,9 @@
 an untrusted format header.
 @item serial=@var{serial}
 This option specifies the serial number to assign to the device.
+@item boot=@var{boot}
+@var{boot} if "on" enables extboot for a given drive so it can be used 
+as a boot drive.
 @end table

 By default, writethrough caching is used for all block device.  This means that
@@ -163,6 +167,11 @@
 qemu -drive file=file,if=scsi,bus=0,unit=6
 @end example

+To boot from as 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


                 reply	other threads:[~2009-04-07 21:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CDD25F8D04646A5B79DA23264B7202D@power \
    --to=volker.ruemelin@t-online.de \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox