[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [RESEND][PATCH v2 1/2] Rework -boot option
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: [RESEND][PATCH v2 1/2] Rework -boot option |
Date: |
Sun, 28 Jun 2009 20:15:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
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
signature.asc
Description: OpenPGP digital signature