Find a file
Amos Kong ac05f34924 add a boot parameter to set reboot timeout
Added an option to let qemu transfer a configuration file to bios,
"etc/boot-fail-wait", which could be specified by command
    -boot reboot-timeout=T
T have a max value of 0xffff, unit is ms.

With this option, guest will wait for a given time if not find
bootabled device, then reboot. If reboot-timeout is '-1', guest
will not reboot, qemu passes '-1' to bios by default.

This feature need the new seabios's support.

Seabios pulls the value from the fwcfg "file" interface, this
interface is used because SeaBIOS needs a reliable way of
obtaining a name, value size, and value. It in no way requires
that there be a real file on the user's host machine.

Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-09-25 20:05:04 -05:00
audio audio: Fix warning from static code analysis 2012-09-23 01:34:16 +04:00
block Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-09-25 16:06:16 -05:00
bsd-user
default-configs
docs
fpu target-xtensa: specialize softfloat NaN rules 2012-09-22 17:59:12 +00:00
fsdev
gdb-xml
hw add a boot parameter to set reboot timeout 2012-09-25 20:05:04 -05:00
include/qemu
libcacard
linux-headers
linux-user Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-25 16:06:16 -05:00
net net/socket: Fix compiler warning (regression for MinGW) 2012-09-23 07:37:41 +01:00
pc-bios
qapi
qga
QMP
qom
roms
scripts dtrace backend: add function to reserved words 2012-09-23 07:11:28 +01:00
slirp
sysconfigs/target Eliminate cpus-x86_64.conf file 2012-09-21 15:12:58 +02:00
target-alpha Merge remote-tracking branch 'afaerber/qom-cpu' into staging 2012-09-25 16:06:16 -05:00
target-arm
target-cris
target-i386 Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-25 16:06:16 -05:00
target-lm32
target-m68k
target-microblaze
target-mips target-mips: Implement Loongson Multimedia Instructions 2012-09-19 21:40:48 +02:00
target-openrisc
target-ppc
target-s390x
target-sh4 target-sh4: remove useless code 2012-09-21 19:53:16 +02:00
target-sparc
target-unicore32
target-xtensa target-xtensa: implement coprocessor context option 2012-09-22 17:59:13 +00:00
tcg tcg/i386: fix build with -march < i686 2012-09-26 00:31:50 +02:00
tests
trace
ui Separate inet_connect into inet_connect (blocking) and inet_nonblocking_connect 2012-09-25 19:05:55 -05:00
.exrc
.gitignore
.gitmodules
.mailmap
a.out.h
acl.c
acl.h
aes.c
aes.h
aio.c
alpha-dis.c
alpha.ld
arch_init.c Eliminate cpus-x86_64.conf file 2012-09-21 15:12:58 +02:00
arch_init.h
arm-dis.c
arm.ld
async.c
balloon.c
balloon.h
bitmap.c
bitmap.h
bitops.c
bitops.h
block-migration.c
block-migration.h
block.c block: remove keep_read_only flag from BlockDriverState struct 2012-09-24 15:15:13 +02:00
block.h block: Framework for reopening files safely 2012-09-24 15:15:11 +02:00
block_int.h block: remove keep_read_only flag from BlockDriverState struct 2012-09-24 15:15:13 +02:00
blockdev.c blockdev: preserve readonly and snapshot states across media changes 2012-09-24 15:15:11 +02:00
blockdev.h
bswap.h
bt-host.c
bt-host.h
bt-vhci.c
buffered_file.c
buffered_file.h
cache-utils.c
cache-utils.h
Changelog
cmd.c
cmd.h
CODING_STYLE
compatfd.c
compatfd.h
compiler.h w32: Always use standard instead of native format strings 2012-09-23 07:39:22 +01:00
config.h
configure configure: Allow builds without any system or user emulation 2012-09-25 18:44:34 -05:00
console.c TextConsole: saturate escape parameter in TTY_STATE_CSI 2012-09-23 07:11:28 +01:00
console.h
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-all.h
cpu-common.h
cpu-defs.h
cpu-exec.c
cpus.c Drop cpu_list_id macro 2012-09-21 15:12:58 +02:00
cpus.h
cputlb.c
cputlb.h
cris-dis.c
cursor.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cutils.c
def-helper.h
device_tree.c
device_tree.h
dis-asm.h
disas.c tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode. 2012-09-21 22:02:16 +02:00
disas.h
dma-helpers.c
dma.h
dump-stub.c
dump.c
dump.h
elf.h
envlist.c
envlist.h
error.c
error.h
event_notifier.c
event_notifier.h
exec-all.h tcg-sparc: Fix and enable direct TB chaining. 2012-09-21 22:02:20 +02:00
exec-memory.h
exec-obsolete.h
exec.c tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode. 2012-09-21 22:02:16 +02:00
gdbstub.c target-xtensa: add FP registers 2012-09-22 17:59:12 +00:00
gdbstub.h
gen-icount.h
HACKING
hmp-commands.hx
hmp.c
hmp.h
host-utils.c
host-utils.h
hppa-dis.c
hppa.ld
i386-dis.c
i386.ld
ia64-dis.c
ia64.ld
input.c
int128.h
iohandler.c qemu-char: BUGFIX, don't call FD_ISSET with negative fd 2012-09-17 10:18:48 -05:00
ioport.c
ioport.h
iorange.h
iov.c
iov.h
json-lexer.c
json-lexer.h
json-parser.c
json-parser.h
json-streamer.c
json-streamer.h
kvm-all.c Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-17 10:21:42 -05:00
kvm-stub.c
kvm.h
libfdt_env.h
LICENSE
linux-aio.c
lm32-dis.c
m68k-dis.c
m68k.ld
main-loop.c
main-loop.h
MAINTAINERS MAINTAINERS: Add entry for QOM CPU 2012-09-21 15:12:57 +02:00
Makefile configure: Allow builds without any system or user emulation 2012-09-25 18:44:34 -05:00
Makefile.dis
Makefile.hw
Makefile.objs
Makefile.target
Makefile.user
memory.c
memory.h Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-17 10:21:42 -05:00
memory_mapping-stub.c
memory_mapping.c
memory_mapping.h
microblaze-dis.c
migration-exec.c
migration-fd.c
migration-tcp.c Fix address handling in inet_nonblocking_connect 2012-09-25 19:05:56 -05:00
migration-unix.c
migration.c Clear handler only for valid fd 2012-09-25 19:05:56 -05:00
migration.h
mips-dis.c
mips.ld
module.c
module.h
monitor.c
monitor.h
nbd.c Separate inet_connect into inet_connect (blocking) and inet_nonblocking_connect 2012-09-25 19:05:55 -05:00
nbd.h nbd: add nbd_export_get_blockdev 2012-09-19 15:26:31 +02:00
net.c
net.h
notify.c
notify.h
os-posix.c curses: don't initialize curses when qemu is daemonized 2012-09-23 07:11:28 +01:00
os-win32.c
osdep.c
osdep.h
oslib-posix.c
oslib-win32.c w32: Add implementation of gmtime_r, localtime_r 2012-09-23 17:09:30 +00:00
page_cache.c
path.c
pci-ids.txt
pflib.c
pflib.h
poison.h
posix-aio-compat.c
ppc-dis.c
ppc.ld
ppc64.ld
qapi-schema-guest.json
qapi-schema-test.json
qapi-schema.json Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-09-17 10:23:15 -05:00
qbool.c
qbool.h
qdict-test-data.txt
qdict.c
qdict.h
qemu-aio.h
qemu-barrier.h
qemu-bridge-helper.c
qemu-char.c Fix address handling in inet_nonblocking_connect 2012-09-25 19:05:56 -05:00
qemu-char.h
qemu-common.h net/socket: Fix compiler warning (regression for MinGW) 2012-09-23 07:37:41 +01:00
qemu-config.c add a boot parameter to set reboot timeout 2012-09-25 20:05:04 -05:00
qemu-config.h
qemu-coroutine-int.h
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-coroutine.h
qemu-doc.texi
qemu-error.c
qemu-error.h
qemu-file.h
qemu-ga.c qemu-ga: Remove unreachable code after g_error 2012-09-23 07:11:28 +01:00
qemu-img-cmds.hx
qemu-img.c Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-09-17 10:23:15 -05:00
qemu-img.texi Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-09-17 10:23:15 -05:00
qemu-io.c
qemu-lock.h
qemu-log.c
qemu-log.h
qemu-nbd.c qemu-nbd: rewrite termination conditions to use a state machine 2012-09-19 15:26:29 +02:00
qemu-nbd.texi
qemu-objects.h
qemu-option-internal.h
qemu-option.c
qemu-option.h
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx add a boot parameter to set reboot timeout 2012-09-25 20:05:04 -05:00
qemu-os-posix.h curses: don't initialize curses when qemu is daemonized 2012-09-23 07:11:28 +01:00
qemu-os-win32.h Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-25 16:06:16 -05:00
qemu-progress.c
qemu-queue.h
qemu-seccomp.c
qemu-seccomp.h
qemu-sockets.c Fix address handling in inet_nonblocking_connect 2012-09-25 19:05:56 -05:00
qemu-tech.texi
qemu-thread-posix.c
qemu-thread-posix.h
qemu-thread-win32.c
qemu-thread-win32.h
qemu-thread.h
qemu-timer-common.c
qemu-timer.c qemu-timer: simplify qemu_run_timers 2012-09-23 07:11:29 +01:00
qemu-timer.h tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode. 2012-09-21 22:02:16 +02:00
qemu-tls.h
qemu-tool.c
qemu-user.c
qemu-x509.h
qemu-xattr.h
qemu.sasl
qemu_socket.h Fix address handling in inet_nonblocking_connect 2012-09-25 19:05:56 -05:00
qerror.c
qerror.h
qfloat.c
qfloat.h
qint.c
qint.h
qjson.c
qjson.h
qlist.c
qlist.h
qmp-commands.hx
qmp.c
qobject.h
qstring.c
qstring.h
qtest.c
qtest.h
range.h
readline.c
readline.h
README
rules.mak
s390-dis.c
s390.ld
savevm.c
sh4-dis.c
softmmu-semi.h
softmmu_defs.h
softmmu_exec.h
softmmu_header.h
softmmu_template.h
sparc-dis.c
sparc.ld
sparc64.ld
spice-qemu-char.c
sysemu.h Cleanup unused global var qemu_system_powerdown 2012-09-25 18:37:41 -05:00
targphys.h
tcg-runtime.c
tci-dis.c
tci.c
thunk.c
thunk.h
TODO
trace-events Merge branch 'usb.65' of git://git.kraxel.org/qemu 2012-09-21 19:53:26 +02:00
translate-all.c
uboot_image.h
user-exec.c
VERSION
version.rc
vgafont.h
vl.c add a boot parameter to set reboot timeout 2012-09-25 20:05:04 -05:00
vmstate.h
x86_64.ld
xen-all.c
xen-mapcache.c
xen-mapcache.h
xen-stub.c

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team