[SeaBIOS] Reset bug in SeaBIOS / qemu?

Kevin O'Connor kevin at koconnor.net
Thu Mar 10 14:42:00 CET 2011


Hi Matthew.  I'm forwarding your mail to the seabios list.  I'll also
take a look at this later on.

On Wed, Mar 09, 2011 at 06:29:20PM +0000, Matthew Bloch wrote:
> Hi Kevin -
> 
> I'm not sure whether this is a qemu bug or SeaBIOS' but your commit
> 244caf86f11f5f65d166d91704f64cb673167abc seems to have broken qemu's
> ability to reset the system.  I reported it on qemu's bug tracker as
> qemu behaves differently if KVM is turned on (i.e. you only see this
> behaviour with qemu, not kvm).
> 
> I found that commenting this out in post.c seems to allow it to
> reboot properly - once:
> 
>     if (CONFIG_COREBOOT && HaveRunPost)
>         // This is a soft reboot - invoke a hard reboot.
>         tryReboot();
> 
> The second reset seems to break the VGA but continues to boot, the
> third hangs at "Scanning for VGA ROM".
> 
> Hope that's useful, not entirely sure how to work around it at
> present, other than "always use KVM".
> 
> qemu is stil bundling a 0.5 build of seabios, but if they upgrade
> this is going to be a bit more visible.
> 
> Regards,
> 
> -- 
> Matthew Bloch



More information about the SeaBIOS mailing list