qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] seabios bug: fail to find etc/boot-fail-wait
@ 2013-03-04  9:45 Amos Kong
  2013-03-04 13:53 ` Kevin O'Connor
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Amos Kong @ 2013-03-04  9:45 UTC (permalink / raw)
  To: seabios, kevin; +Cc: qemu-devel

./qemu-upstream-latest -boot reboot-timeout=1000 ...
(after boot failed, VM waits for 1000 ms and try to reboot)


reboot-timeout parameter doesn't work now, I found this regression bug
was introduced by commit 59d6ca52a7eba5b1f4f2becf70fd446dccaf0a2e

> Author: Kevin O'Connor <kevin@koconnor.net>
> Date:   Thu May 31 00:20:55 2012 -0400
> 
>     Cache romfile entries.
>     
>     Create a 'struct romfile_s' and populate a list of all romfiles at
>     start of init.  Caching the romfiles both simplifies the code and
>     makes it more efficient.
>     
>     Also, convert the ramdisk code to use romfile helpers instead of
>     directly accessing cbfs.

romfile_add() is used to add rom files in the list.
When seabios calls boot_fail(), the list becomes empty,
romfile_find("etc/boot-fail-wait", ..) returns NULL.
it seems the list items are released prematurely.

Thanks, Amos

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-07  1:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04  9:45 [Qemu-devel] seabios bug: fail to find etc/boot-fail-wait Amos Kong
2013-03-04 13:53 ` Kevin O'Connor
2013-03-05  2:06 ` [Qemu-devel] [Seabios PATCH] make reboot-timeout to static for using it after POST phase Amos Kong
2013-03-05  9:03   ` [Qemu-devel] [SeaBIOS] " li guang
2013-03-05  9:52 ` [Qemu-devel] [Seabios PATCH v2] " Amos Kong
2013-03-07  1:07   ` Kevin O'Connor

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).