On Fr, 2013-09-06 at 14:32 +0200, Laszlo Ersek wrote:
On 09/06/13 02:45, Kevin O'Connor wrote:
On Wed, Sep 04, 2013 at 08:13:56AM +0200, Gerd Hoffmann wrote:
I'd like to do this as early as possible, because one of the things this enables is logging via qemu debug port (CONFIG_DEBUG_IO).
Good point.
Also note that preinit has a runningOnKvm() call, and we'll better do the checks for qemu and kvm beforehand.
Maybe call qemu_preinit() from handle_csm_0000()?
I tested Gerd's patch that does this (to be posted I think), it works fine.
Yes, to be posted, here we go: attached patch replaces #3.
Patches 1+2 are unchanged, full series is at http://www.kraxel.org/cgit/seabios/log/?h=detect-qemu
cheers, Gerd