From: Wayne Xia <xiawenc@linux.vnet.ibm.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3] showing a splash picture when start
Date: Mon, 27 Jun 2011 15:57:53 +0800 [thread overview]
Message-ID: <4E083801.7010502@linux.vnet.ibm.com> (raw)
In-Reply-To: <4E082F7B.3080800@web.de>
> On 2011-06-27 08:53, Wayne Xia wrote:
>> Made an option to let qemu pass a picture to bios, let the bios show it as a
>> logo. By default it is off, enable it as following
>
> That's better. :)
>
>> -boot splash_time=N,splash_filename=P
>> N have a max value of 0xffff, unit is ms. P is the a file name or a absolute
>> path.
>> Currently a trial version of sea-bios could be used to test it.
>>
>> Signed-off-by: Wayne Xia<xiawenc@linux.vnet.ibm.com>
>> ---
>
> ...
I think making the splash time configurable would be better, maybe
we could pass the configuration like following:
-boot splash=P,<splash_time=N>
only if splash=P was specified, the splash shows. In this
situation, if splash_time was not specified, then show it with a
predefined period, such as 2.5 seconds.
>
>> index c63741c..6f93b10 100644
>> --- a/qemu-config.c
>> +++ b/qemu-config.c
>> @@ -469,6 +469,32 @@ static QemuOptsList qemu_machine_opts = {
>> },
>> };
>>
>> +QemuOptsList qemu_bootsplash_opts = {
>> + .name = "bootsplash",
>> + .head = QTAILQ_HEAD_INITIALIZER(qemu_bootsplash_opts.head),
>> + .desc = {
>> + /* the three names below are not used now */
>> + {
>> + .name = "order",
>> + .type = QEMU_OPT_STRING,
>> + }, {
>> + .name = "once",
>> + .type = QEMU_OPT_STRING,
>> + }, {
>> + .name = "menu",
>> + .type = QEMU_OPT_STRING,
>> + /* following are really used */
>> + }, {
>> + .name = "splash_time",
>> + .type = QEMU_OPT_STRING,
>> + }, {
>> + .name = "splash_filename",
>> + .type = QEMU_OPT_STRING,
>> + },
>> + { /*End of list */ }
>> + },
>> +};
>> +
>
> This is describing the "boot" option that also controls the splash.
> Naming should reflect this.
yeah, agree with you.
>
> Jan
>
--
Best Regards
Wayne Xia
mail:xiawenc@linux.vnet.ibm.com
tel:86-010-82450803
next prev parent reply other threads:[~2011-06-27 7:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 6:53 [Qemu-devel] [PATCH v3] showing a splash picture when start Wayne Xia
2011-06-27 7:21 ` Jan Kiszka
2011-06-27 7:57 ` Wayne Xia [this message]
2011-06-27 8:20 ` Stefan Hajnoczi
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=4E083801.7010502@linux.vnet.ibm.com \
--to=xiawenc@linux.vnet.ibm.com \
--cc=jan.kiszka@web.de \
--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.