diff options
author | wayne <xiawenc@linux.vnet.ibm.com> | 2011-07-27 18:04:55 +0800 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 08:25:44 -0500 |
commit | 3d3b8303c6f83b9b245bc774af530a6403cc4ce6 (patch) | |
tree | 3c5dabbe00cf7422abe75a0c8bc2b00a536530e4 /sysemu.h | |
parent | 6da48311bbd884da4d0a4ae03b0fc7a78981a5f4 (diff) | |
download | qemu-3d3b8303c6f83b9b245bc774af530a6403cc4ce6.tar.gz qemu-3d3b8303c6f83b9b245bc774af530a6403cc4ce6.tar.bz2 qemu-3d3b8303c6f83b9b245bc774af530a6403cc4ce6.zip |
showing a splash picture when start
Added options to let qemu transfer two configuration files to bios:
"bootsplash.bmp" and "etc/boot-menu-wait", which could be specified by command
-boot splash=P,splash-time=T
P is jpg/bmp file name or an absolute path, T have a max value of 0xffff, unit
is ms. With these two options, if user invoke qemu with menu=on option, then
a splash picture would be showed in a given time. For example:
qemu -boot menu=on,splash=/root/boot.bmp,splash-time=5000
would make boot.bmp shown as a brand with 5 seconds in the booting up process.
This feature need the new seabios's support, which could be got from git.
Signed-off-by: Wayne Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -123,6 +123,9 @@ extern int no_shutdown; extern int semihosting_enabled; extern int old_param; extern int boot_menu; +extern uint8_t *boot_splash_filedata; +extern int boot_splash_filedata_size; +extern uint8_t qemu_extra_params_fw[2]; extern QEMUClock *rtc_clock; #define MAX_NODES 64 |