From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCgsT-0005to-P2 for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:50:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCgsS-0005tY-8c for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:50:49 -0500 Received: from [199.232.76.173] (port=58310 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCgsS-0005tV-34 for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:50:48 -0500 Received: from mail-bw0-f12.google.com ([209.85.218.12]:49687) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCgsR-0008GW-Dq for qemu-devel@nongnu.org; Tue, 16 Dec 2008 15:50:47 -0500 Received: by bwz5 with SMTP id 5so6203910bwz.10 for ; Tue, 16 Dec 2008 12:50:46 -0800 (PST) Message-ID: Date: Tue, 16 Dec 2008 22:46:58 +0200 From: "Blue Swirl" Subject: Re: [Qemu-devel] [PATCH 0/3] Add BIOS splash image support In-Reply-To: <49480F6D.2010302@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1229440810-12394-1-git-send-email-Laurent.Vivier@bull.net> <49480F6D.2010302@codemonkey.ws> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: bochs developers , qemu-devel@nongnu.org, kvm developers On 12/16/08, Anthony Liguori wrote: > Blue Swirl wrote: > > > On 12/16/08, Laurent Vivier wrote: > > > > > > > This series of patches adds a nice BIOS startup splash screen. > > > > > > It adds a "-splash" option allowing to specify the picture file name (a > 640x480 (or less) and true color PNG) to display. You can enable/disable > fade in, > > > fade out and bootmenu. The time to display the image can be also given > (in > > > seconds). > > > > > > Idea and some parts of code are stollen from VirtualBox (GPLv2/CDDL). > > > > > > [PATCH 1/3] Correct fw_cfg_add_callback() > > > [PATCH 2/3] [BIOS] Add splash image support > > > [PATCH 3/3] [QEMU] Add BIOS splash image > > > > > > > > > > On second thought, there is no Gtk/Qt GUI because that is supposed to > > be external to Qemu. By the same logic, why should there be any splash > > screen? The external GUI can probably show it as easily using the same > > Gtk/Qt/whatever. > > > > You need it to be consistent on the SDL/VNC display. Oh, I didn't consider the VNC case. Then it may be difficult for the GUI to manage the boot screen. > Modern BIOSes have splash screens. I don't see why our BIOS shouldn't have > one too. > > > The control channel may still be needed. > > > > Alternatively the BIOS could load the image and fade parameters from a > > new ROM or from the configuration device and draw it to screen. This > > would need some PNG support to BIOS, or that the image stored in raw > > form. > > > > > > Yeah, having QEMU render to the VGA directly is a bit ugly. It would be > nicer if the BIOS actually rendered the image but I'm not sure I think we > should reject the patch just because it doesn't. Actually this way the image can be in full color even if the emulated device was an EGA in text mode.