All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Avi Kivity <avi@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [RESEND][PATCH v2 1/2] Rework -boot option
Date: Sun, 28 Jun 2009 20:15:02 +0200	[thread overview]
Message-ID: <4A47B326.7020803@web.de> (raw)
In-Reply-To: <4A47A02F.5020108@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

Avi Kivity wrote:
> On 06/27/2009 11:11 AM, Jan Kiszka wrote:
>> This patch changes the boot command line option to the canonical format
>>
>>   -boot [order=]drives[,interactive=on|off]
>>
>> where 'drives' is using the same format as the old -boot. The format
>> switch allows to add the 'interactive' option and use the existing
>> infrastructure to parse it. However, the old format is still understood
>> and will be processed at least for a transition time.
>>
>> The state of 'interactive' is transfered to the firmware via the new
>> configuration value FW_CFG_BOOT_INTERACTIVE.
>>    
> 
> Perhaps interactive (and the boot order itself) should be forgotten
> after a successful boot?  A typical use case is to boot an installer off
> the cdrom; the next boot ought to try the hard disk.  But perhaps other
> use cases don't want that.
> 

We could extend the new format to

  -boot [order=drives][,once=drives][,interactive=on|off]

where 'once' specifies the order to be used only for the very first boot
of this machine.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2009-06-28 18:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-27  8:11 [Qemu-devel] [RESEND][PATCH v2 1/2] Rework -boot option Jan Kiszka
2009-06-28 16:54 ` Avi Kivity
2009-06-28 18:15   ` Jan Kiszka [this message]
2009-06-28 19:40 ` [Qemu-devel] " Sebastian Herbszt
2009-06-29  6:50   ` Jan Kiszka

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=4A47B326.7020803@web.de \
    --to=jan.kiszka@web.de \
    --cc=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.