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 v2 0/3] kvm:showing a splash picture when start
Date: Fri, 24 Jun 2011 10:28:40 +0800 [thread overview]
Message-ID: <4E03F658.4080107@linux.vnet.ibm.com> (raw)
In-Reply-To: <4E033190.7020003@web.de>
2011-6-23 20:29, Jan Kiszka :
> On 2011-06-23 14:05, Daniel P. Berrange wrote:
>> On Thu, Jun 23, 2011 at 01:24:01PM +0200, Jan Kiszka wrote:
>>> On 2011-06-23 13:20, Wayne Xia wrote:
>>>> 2011-6-23 18:03, Jan Kiszka
>>>>> On 2011-06-23 11:18, Wayne Xia wrote:
>>>>>> Hi,
>>>>>> these 3 patch simply enable qemu-kvm to show a logo picture when it
>>>>>
>>>>> You are posting on qemu-devel (which is correct for this topic), so your
>>>>> patches must target that tree. Patch 1 eg. does not and needs rebasing.
>>>>>
>>>> thanks for the tip.
>>>>>> s start up, following is how to configurate it:
>>>>>> invoke it with params:
>>>>>> -boot (splash_time=<N>,) (splash_filename=<N>,)
>>>>>
>>>>> Simply 'splash' for specifying the file should suffice.
>>>>>
>>>>>> the splash_time is in the unit of ms, and its max value is 65535.
>>>>>> this feature is by default on with 5000ms showing up.
>>>>>
>>>>> Strong NAK for making this default. We have a nice sub-second BIOS time
>>>>> in QEMU, and that must not be destroyed by eye candy. 5 s is also way
>>>>> too long even when you want splash.
>>>>>
>>>> Maybe 5 is a bit too long, this patch is for test so made it a bit
>>>> longer to be observed by VNC, I think 2.5s would be fit.
>>>
>>> Maybe it could be something like that if the user specifies a splash
>>> file - which indicates that there should be some splash delay as well.
>>> Default without any splash parameter must remain 0, ie. disabled.
>>
>> I don't think you want to change default timeouts based on whether
>> a splash screen is present. Consider that if you have enabled PXE boot
>> on one of the guest NICs, then there is already a few second delay
>> while the BIOS PXEs, during which it QEMU would be showing the splash
>> screen. You don't then want to add a further 2.5s or 5s delay ontop
>> of that already imposed by the BIOS PXE process. Just let the splash
>> screen be displayed for however long the BIOS process takes, without
>> any extra artifical delays, even if this is a mere fraction of a
>> second in some cases.
>
> I don't want the splash to show up at all by default, even just for a
> fraction of a second. Already loading that image costs time
> (specifically as it's squeezed into fwcfg), and that would be unacceptable.
>
> My point is that, if the user specifies "-boot
> splash=my-nice-splace.bmp", there is likely the wish to see the result
> more than a few 100 ms. Again, that's the case where the user asked for
> a slowdown anyway.
>
Completely understand that in most cases the Qemu-kvm should boot up
as soon as it can. Making this default now is just to provide a
convenient way to test it temporarily, I did that to make it easily
tested in the GUI--Virtual Machine Manager which would not accept
additional parameters to enable the splash screen. Sorry for having not
explained it clearly.
I agree that if the user specifies it, then this logo would be
shown.
> Jan
>
--
Best Regards
Wayne Xia
mail:xiawenc@linux.vnet.ibm.com
tel:86-010-82450803
next prev parent reply other threads:[~2011-06-24 2:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-23 9:18 [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start Wayne Xia
2011-06-23 10:03 ` Jan Kiszka
2011-06-23 11:14 ` Stefan Hajnoczi
2011-06-23 11:17 ` Jan Kiszka
2011-06-23 12:33 ` Stefan Hajnoczi
2011-06-23 12:36 ` Avi Kivity
2011-06-23 11:56 ` Zhi Yong Wu
2011-06-23 11:57 ` Jan Kiszka
2011-06-23 12:05 ` Zhi Yong Wu
2011-06-23 11:20 ` Wayne Xia
2011-06-23 11:24 ` Jan Kiszka
2011-06-23 12:05 ` Daniel P. Berrange
2011-06-23 12:29 ` Jan Kiszka
2011-06-23 14:46 ` Andreas Färber
2011-06-24 2:28 ` Wayne Xia [this message]
2011-06-23 11:46 ` Daniel P. Berrange
2011-06-23 11:41 ` Daniel P. Berrange
2011-06-23 12:00 ` Richard W.M. Jones
2011-06-23 13:38 ` Michael Tokarev
2011-06-23 14:59 ` Anthony Liguori
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=4E03F658.4080107@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).