* [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start @ 2011-06-23 9:18 Wayne Xia 2011-06-23 10:03 ` Jan Kiszka ` (2 more replies) 0 siblings, 3 replies; 20+ messages in thread From: Wayne Xia @ 2011-06-23 9:18 UTC (permalink / raw) To: Anthony Liguori; +Cc: qemu-devel Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it s start up, following is how to configurate it: invoke it with params: -boot (splash_time=<N>,) (splash_filename=<N>,) 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. Patch 1 contains the source modification for qemu-kvm, Patch 2 and 3 are binary patches that added a default logo picture file, alternated the bios.bin to make the sea-bios showing it. Patch 3 is just used to provide a convenient way to test the Patch, waiting for newer version of seabios that provide the support officially. Any comments would be very nice. -- Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 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:20 ` Wayne Xia 2011-06-23 11:41 ` Daniel P. Berrange 2011-06-23 12:00 ` Richard W.M. Jones 2 siblings, 2 replies; 20+ messages in thread From: Jan Kiszka @ 2011-06-23 10:03 UTC (permalink / raw) To: Wayne Xia; +Cc: Anthony Liguori, qemu-devel [-- Attachment #1: Type: text/plain, Size: 1463 bytes --] 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. > 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. > Patch 1 contains the source modification for qemu-kvm, Patch 2 and > 3 are binary patches that added a default logo picture file, alternated > the bios.bin to make the sea-bios showing it. Patch 3 is just used to > provide a convenient way to test the Patch, waiting for newer version > of seabios that provide the support officially. > Any comments would be very nice. - commit logs a missing in the individual patches - the BIOS is updated via submodule reference, and that only to SeaBIOS releases (IOW, you can only provide a test image so far, no patch) - a default logo should not mention KVM but QEMU (splash is not limited to KVM mode) Jan [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 259 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 10:03 ` Jan Kiszka @ 2011-06-23 11:14 ` Stefan Hajnoczi 2011-06-23 11:17 ` Jan Kiszka 2011-06-23 11:56 ` Zhi Yong Wu 2011-06-23 11:20 ` Wayne Xia 1 sibling, 2 replies; 20+ messages in thread From: Stefan Hajnoczi @ 2011-06-23 11:14 UTC (permalink / raw) To: Wayne Xia; +Cc: Anthony Liguori, Jan Kiszka, qemu-devel 2011/6/23 Jan Kiszka <jan.kiszka@web.de>: > 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. More specifically, develop code against qemu.git as a default. Much of the development that goes into qemu-kvm actually comes via qemu.git. If you need to do qemu-kvm.git specific stuff, you'll know. Additional info: "The QEMU codebase is known as qemu.git. That's the git repository that holds the QEMU source code history. The KVM codebase is known as qemu-kvm.git, the git repository that holds the KVM source code history. The relationship between qemu.git and qemu-kvm.git is as follows. qemu-kvm.git is a fork of qemu.git and periodically merges updates from qemu.git back into qemu-kvm.git. A lot of code changes are merged into qemu.git and become available in qemu-kvm.git after the next periodic merge. KVM-specific enhancements may be merged into qemu-kvm.git and may be sent back upstream to qemu.git. Efforts are underway to completely merge qemu-kvm.git into qemu.git. This will make qemu-kvm.git obsolete and result in a single codebase. In the future there may only be a qemu package." http://blog.vmsplice.net/2011/03/should-i-use-qemu-or-kvm.html Stefan ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 11:14 ` Stefan Hajnoczi @ 2011-06-23 11:17 ` Jan Kiszka 2011-06-23 12:33 ` Stefan Hajnoczi 2011-06-23 11:56 ` Zhi Yong Wu 1 sibling, 1 reply; 20+ messages in thread From: Jan Kiszka @ 2011-06-23 11:17 UTC (permalink / raw) To: Stefan Hajnoczi; +Cc: Anthony Liguori, Wayne Xia, qemu-devel [-- Attachment #1: Type: text/plain, Size: 1670 bytes --] On 2011-06-23 13:14, Stefan Hajnoczi wrote: > 2011/6/23 Jan Kiszka <jan.kiszka@web.de>: >> 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. > > More specifically, develop code against qemu.git as a default. Much > of the development that goes into qemu-kvm actually comes via > qemu.git. If you need to do qemu-kvm.git specific stuff, you'll know. > > Additional info: > "The QEMU codebase is known as qemu.git. That's the git repository > that holds the QEMU source code history. The KVM codebase is known as > qemu-kvm.git, the git repository that holds the KVM source code > history. > > The relationship between qemu.git and qemu-kvm.git is as follows. > qemu-kvm.git is a fork of qemu.git and periodically merges updates > from qemu.git back into qemu-kvm.git. A lot of code changes are merged > into qemu.git and become available in qemu-kvm.git after the next > periodic merge. KVM-specific enhancements may be merged into > qemu-kvm.git and may be sent back upstream to qemu.git. > > Efforts are underway to completely merge qemu-kvm.git into qemu.git. > This will make qemu-kvm.git obsolete and result in a single codebase. > In the future there may only be a qemu package." > > http://blog.vmsplice.net/2011/03/should-i-use-qemu-or-kvm.html BTW, do we have such information in the linux-kvm.org and maybe also qemu.org wikis? If not, I guess it would help, in some cases at least. Jan [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 259 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 11:17 ` Jan Kiszka @ 2011-06-23 12:33 ` Stefan Hajnoczi 2011-06-23 12:36 ` Avi Kivity 0 siblings, 1 reply; 20+ messages in thread From: Stefan Hajnoczi @ 2011-06-23 12:33 UTC (permalink / raw) To: Jan Kiszka Cc: Avi Kivity, Anthony Liguori, Marcelo Tosatti, Wayne Xia, qemu-devel On Thu, Jun 23, 2011 at 12:17 PM, Jan Kiszka <jan.kiszka@web.de> wrote: > On 2011-06-23 13:14, Stefan Hajnoczi wrote: >> 2011/6/23 Jan Kiszka <jan.kiszka@web.de>: >>> 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. >> >> More specifically, develop code against qemu.git as a default. Much >> of the development that goes into qemu-kvm actually comes via >> qemu.git. If you need to do qemu-kvm.git specific stuff, you'll know. >> >> Additional info: >> "The QEMU codebase is known as qemu.git. That's the git repository >> that holds the QEMU source code history. The KVM codebase is known as >> qemu-kvm.git, the git repository that holds the KVM source code >> history. >> >> The relationship between qemu.git and qemu-kvm.git is as follows. >> qemu-kvm.git is a fork of qemu.git and periodically merges updates >> from qemu.git back into qemu-kvm.git. A lot of code changes are merged >> into qemu.git and become available in qemu-kvm.git after the next >> periodic merge. KVM-specific enhancements may be merged into >> qemu-kvm.git and may be sent back upstream to qemu.git. >> >> Efforts are underway to completely merge qemu-kvm.git into qemu.git. >> This will make qemu-kvm.git obsolete and result in a single codebase. >> In the future there may only be a qemu package." >> >> http://blog.vmsplice.net/2011/03/should-i-use-qemu-or-kvm.html > > BTW, do we have such information in the linux-kvm.org and maybe also > qemu.org wikis? If not, I guess it would help, in some cases at least. I have added the following: "If you want to contribute code, please develop against qemu.git and submit patches to qemu-devel@nongnu.org. The qemu-kvm.git tree regularly gets changes from qemu.git and patches against qemu-kvm.git should be minimized." http://www.linux-kvm.org/page/Code Avi and Marcelo: hope you are okay with this wiki change, please revert or reword if you feel the wording should be improved. Stefan ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 12:33 ` Stefan Hajnoczi @ 2011-06-23 12:36 ` Avi Kivity 0 siblings, 0 replies; 20+ messages in thread From: Avi Kivity @ 2011-06-23 12:36 UTC (permalink / raw) To: Stefan Hajnoczi Cc: Anthony Liguori, Marcelo Tosatti, Jan Kiszka, Wayne Xia, qemu-devel On 06/23/2011 03:33 PM, Stefan Hajnoczi wrote: > > > > BTW, do we have such information in the linux-kvm.org and maybe also > > qemu.org wikis? If not, I guess it would help, in some cases at least. > > I have added the following: > > "If you want to contribute code, please develop against qemu.git and > submit patches to qemu-devel@nongnu.org. The qemu-kvm.git tree > regularly gets changes from qemu.git and patches against qemu-kvm.git > should be minimized." > http://www.linux-kvm.org/page/Code > > Avi and Marcelo: hope you are okay with this wiki change, please > revert or reword if you feel the wording should be improved. Looks good, thanks. -- error compiling committee.c: too many arguments to function ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 11:14 ` Stefan Hajnoczi 2011-06-23 11:17 ` Jan Kiszka @ 2011-06-23 11:56 ` Zhi Yong Wu 2011-06-23 11:57 ` Jan Kiszka 1 sibling, 1 reply; 20+ messages in thread From: Zhi Yong Wu @ 2011-06-23 11:56 UTC (permalink / raw) To: Stefan Hajnoczi; +Cc: Anthony Liguori, Jan Kiszka, Wayne Xia, qemu-devel I guess that Wayne should target qemu-kvm git tree. Regards, Zhiyong Wu On Thu, Jun 23, 2011 at 7:14 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote: > 2011/6/23 Jan Kiszka <jan.kiszka@web.de>: >> 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. > > More specifically, develop code against qemu.git as a default. Much > of the development that goes into qemu-kvm actually comes via > qemu.git. If you need to do qemu-kvm.git specific stuff, you'll know. > > Additional info: > "The QEMU codebase is known as qemu.git. That's the git repository > that holds the QEMU source code history. The KVM codebase is known as > qemu-kvm.git, the git repository that holds the KVM source code > history. > > The relationship between qemu.git and qemu-kvm.git is as follows. > qemu-kvm.git is a fork of qemu.git and periodically merges updates > from qemu.git back into qemu-kvm.git. A lot of code changes are merged > into qemu.git and become available in qemu-kvm.git after the next > periodic merge. KVM-specific enhancements may be merged into > qemu-kvm.git and may be sent back upstream to qemu.git. > > Efforts are underway to completely merge qemu-kvm.git into qemu.git. > This will make qemu-kvm.git obsolete and result in a single codebase. > In the future there may only be a qemu package." > > http://blog.vmsplice.net/2011/03/should-i-use-qemu-or-kvm.html > > Stefan > > -- Regards, Zhi Yong Wu ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 11:56 ` Zhi Yong Wu @ 2011-06-23 11:57 ` Jan Kiszka 2011-06-23 12:05 ` Zhi Yong Wu 0 siblings, 1 reply; 20+ messages in thread From: Jan Kiszka @ 2011-06-23 11:57 UTC (permalink / raw) To: Zhi Yong Wu; +Cc: Stefan Hajnoczi, Anthony Liguori, Wayne Xia, qemu-devel [-- Attachment #1: Type: text/plain, Size: 135 bytes --] On 2011-06-23 13:56, Zhi Yong Wu wrote: > I guess that Wayne should target qemu-kvm git tree. Nope, qemu.git is correct. Jan [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 259 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 11:57 ` Jan Kiszka @ 2011-06-23 12:05 ` Zhi Yong Wu 0 siblings, 0 replies; 20+ messages in thread From: Zhi Yong Wu @ 2011-06-23 12:05 UTC (permalink / raw) To: Jan Kiszka; +Cc: Stefan Hajnoczi, Anthony Liguori, Wayne Xia, qemu-devel Jan, Sorry, i just made a mistake, and thanks. On Thu, Jun 23, 2011 at 7:57 PM, Jan Kiszka <jan.kiszka@web.de> wrote: > On 2011-06-23 13:56, Zhi Yong Wu wrote: >> I guess that Wayne should target qemu-kvm git tree. > > Nope, qemu.git is correct. > > Jan > > -- Regards, Zhi Yong Wu ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 10:03 ` Jan Kiszka 2011-06-23 11:14 ` Stefan Hajnoczi @ 2011-06-23 11:20 ` Wayne Xia 2011-06-23 11:24 ` Jan Kiszka 2011-06-23 11:46 ` Daniel P. Berrange 1 sibling, 2 replies; 20+ messages in thread From: Wayne Xia @ 2011-06-23 11:20 UTC (permalink / raw) To: Jan Kiszka; +Cc: qemu-devel 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. >> Patch 1 contains the source modification for qemu-kvm, Patch 2 and >> 3 are binary patches that added a default logo picture file, alternated >> the bios.bin to make the sea-bios showing it. Patch 3 is just used to >> provide a convenient way to test the Patch, waiting for newer version >> of seabios that provide the support officially. >> Any comments would be very nice. > > - commit logs a missing in the individual patches I think patch 3/3 may be in the junk mail box. > - the BIOS is updated via submodule reference, and that only to SeaBIOS > releases (IOW, > you can only provide a test image so far, no patch) > - a default logo should not mention KVM but QEMU (splash is not limited > to KVM mode) we can switch it for a more official picture for different release. > Jan > -- Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 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 11:46 ` Daniel P. Berrange 1 sibling, 1 reply; 20+ messages in thread From: Jan Kiszka @ 2011-06-23 11:24 UTC (permalink / raw) To: Wayne Xia; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 1278 bytes --] 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. Jan [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 259 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 11:24 ` Jan Kiszka @ 2011-06-23 12:05 ` Daniel P. Berrange 2011-06-23 12:29 ` Jan Kiszka 0 siblings, 1 reply; 20+ messages in thread From: Daniel P. Berrange @ 2011-06-23 12:05 UTC (permalink / raw) To: Jan Kiszka; +Cc: Wayne Xia, qemu-devel 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. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 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 0 siblings, 2 replies; 20+ messages in thread From: Jan Kiszka @ 2011-06-23 12:29 UTC (permalink / raw) To: Daniel P. Berrange; +Cc: Wayne Xia, qemu-devel [-- Attachment #1: Type: text/plain, Size: 2476 bytes --] 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. Jan [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 259 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 12:29 ` Jan Kiszka @ 2011-06-23 14:46 ` Andreas Färber 2011-06-24 2:28 ` Wayne Xia 1 sibling, 0 replies; 20+ messages in thread From: Andreas Färber @ 2011-06-23 14:46 UTC (permalink / raw) To: Jan Kiszka; +Cc: Wayne Xia, qemu-devel Developers Am 23.06.2011 um 14:29 schrieb 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: >>>>>> -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. Déjà-entendu... Wasn't there something about a delay for key presses that was removed and the menu=on parameter added for that? Can't we just tie the bootsplash to existing menu=on and be good? Andreas ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 12:29 ` Jan Kiszka 2011-06-23 14:46 ` Andreas Färber @ 2011-06-24 2:28 ` Wayne Xia 1 sibling, 0 replies; 20+ messages in thread From: Wayne Xia @ 2011-06-24 2:28 UTC (permalink / raw) To: Jan Kiszka; +Cc: qemu-devel 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 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 11:20 ` Wayne Xia 2011-06-23 11:24 ` Jan Kiszka @ 2011-06-23 11:46 ` Daniel P. Berrange 1 sibling, 0 replies; 20+ messages in thread From: Daniel P. Berrange @ 2011-06-23 11:46 UTC (permalink / raw) To: Wayne Xia; +Cc: Jan Kiszka, qemu-devel On Thu, Jun 23, 2011 at 07:20:06PM +0800, 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. A splash screen provides no useful information to the end user, so they won't care about seeing it in VNC or anyother display protocol. All that matters is to get users to their working OS as fast as possible. So 0s, aka no splash screen, should be the default. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 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:41 ` Daniel P. Berrange 2011-06-23 12:00 ` Richard W.M. Jones 2 siblings, 0 replies; 20+ messages in thread From: Daniel P. Berrange @ 2011-06-23 11:41 UTC (permalink / raw) To: Wayne Xia; +Cc: Anthony Liguori, qemu-devel On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: > Hi, > these 3 patch simply enable qemu-kvm to show a logo picture when it > s start up, following is how to configurate it: > invoke it with params: > -boot (splash_time=<N>,) (splash_filename=<N>,) > 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. Real machines have splash screens because they take soo long to initialize. KVM guests go almost instantly to the guest OS, which is a clear step forward. Adding in a 5000ms delay to KVM guests is just a huge, pointless step back again. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 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: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 2 siblings, 2 replies; 20+ messages in thread From: Richard W.M. Jones @ 2011-06-23 12:00 UTC (permalink / raw) To: Wayne Xia; +Cc: Anthony Liguori, qemu-devel On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: > Hi, > these 3 patch simply enable qemu-kvm to show a logo picture when it > s start up, following is how to configurate it: > invoke it with params: > -boot (splash_time=<N>,) (splash_filename=<N>,) > 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. > Patch 1 contains the source modification for qemu-kvm, Patch 2 and > 3 are binary patches that added a default logo picture file, alternated > the bios.bin to make the sea-bios showing it. Patch 3 is just used to > provide a convenient way to test the Patch, waiting for newer version > of seabios that provide the support officially. > Any comments would be very nice. Splash screens are a terrible idea. We should work instead on making the boot even faster. And having it *default* to 5 seconds! That's like, nearly double the time it takes to launch libguestfs completely!! Please don't accept these patches. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 12:00 ` Richard W.M. Jones @ 2011-06-23 13:38 ` Michael Tokarev 2011-06-23 14:59 ` Anthony Liguori 1 sibling, 0 replies; 20+ messages in thread From: Michael Tokarev @ 2011-06-23 13:38 UTC (permalink / raw) To: Richard W.M. Jones; +Cc: Anthony Liguori, Wayne Xia, qemu-devel 23.06.2011 16:00, Richard W.M. Jones wrote: > On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: >> Hi, >> these 3 patch simply enable qemu-kvm to show a logo picture when it >> s start up, following is how to configurate it: >> invoke it with params: >> -boot (splash_time=<N>,) (splash_filename=<N>,) >> 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. >> Patch 1 contains the source modification for qemu-kvm, Patch 2 and >> 3 are binary patches that added a default logo picture file, alternated >> the bios.bin to make the sea-bios showing it. Patch 3 is just used to >> provide a convenient way to test the Patch, waiting for newer version >> of seabios that provide the support officially. >> Any comments would be very nice. > > Splash screens are a terrible idea. We should work instead on making > the boot even faster. I completely agree. Qemu does not do much in the BIOS (as a regular PC does while initializing various devices, reading boot records and so on), so there's nothing to hide here (except of problem reports in case of trouble - it's already waaay more than enough when people use -daemonize option which effectively turns off stderr). While booting the system it's possible to have its own splash screen if desirable. But the whole thing is somewhat moot for qemu anyway: just start whole thing in background. > Please don't accept these patches. *nod* /mjt ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start 2011-06-23 12:00 ` Richard W.M. Jones 2011-06-23 13:38 ` Michael Tokarev @ 2011-06-23 14:59 ` Anthony Liguori 1 sibling, 0 replies; 20+ messages in thread From: Anthony Liguori @ 2011-06-23 14:59 UTC (permalink / raw) To: Richard W.M. Jones; +Cc: Wayne Xia, qemu-devel On 06/23/2011 07:00 AM, Richard W.M. Jones wrote: > On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: >> Hi, >> these 3 patch simply enable qemu-kvm to show a logo picture when it >> s start up, following is how to configurate it: >> invoke it with params: >> -boot (splash_time=<N>,) (splash_filename=<N>,) >> 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. >> Patch 1 contains the source modification for qemu-kvm, Patch 2 and >> 3 are binary patches that added a default logo picture file, alternated >> the bios.bin to make the sea-bios showing it. Patch 3 is just used to >> provide a convenient way to test the Patch, waiting for newer version >> of seabios that provide the support officially. >> Any comments would be very nice. > > Splash screens are a terrible idea. No, they're not. > We should work instead on making the boot even faster. Having the ability to have an optional splash screen does not slow down boot for the cases when it's not enabled. It's extremely valuable in many use-cases to enable branding. > And having it *default* to 5 seconds! That's like, nearly double the > time it takes to launch libguestfs completely!! No one is saying that libguestfs has to enable a splash screen during it's guest start up. Regards, Anthony Liguori > Please don't accept these patches. > > Rich. > ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2011-06-24 2:28 UTC | newest] Thread overview: 20+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
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).