qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3] showing a splash picture when start


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH v3] showing a splash picture when start
Date: Mon, 27 Jun 2011 09:21:31 +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

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 <address@hidden>
> ---

...

> 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.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]