<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 19, 2018 at 9:49 AM Gerd Hoffmann <<a href="mailto:kraxel@redhat.com" target="_blank">kraxel@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi,<br>
<br>
> I'm investigating the SeaBIOS booting time, to understand if we can<br>
> reduce the boot time in some cases (e.g. legacy hardware is not<br>
> needed). I think this can be interesting also for NEMU developers.<br>
<br>
> The goal is to have only one image of SeaBIOS configurable at runtime<br>
> to reduce the boot time, avoiding unnecessary initialization.<br>
<br>
Why at runtime? What is bad with two images? With a runtime option<br>
you probably need some way to enable the "fastboot" hint for seabios,<br>
because some optimizations (like skipping ps/2 initialization) breaks<br>
functionality. So it must be opt-in so you can enable it if you know<br>
your use case is fine with that. But "qemu -boot fast=on" isn't much<br>
different from "qemu -bios seabios-fastboot.bin" after all ...<br></blockquote><div> </div>You are right, but maybe having a single image can be simpler to distribute,</div><div class="gmail_quote">and we can implement something (eg. using fw_cfg) to selectively enable</div><div class="gmail_quote">features needed.<br>Anyway, as the first step, I'll try to build a separate image of SeaBIOS.<div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Any pointers or suggestions would be helpful.<br>
<br>
seabios could try to skip initializing hardware without bootindex with<br>
"qemu -boot menu=off,strict=on".<br>
<br>
mmconfig support? I think that would reduce the number of vmexits<br>
needed for pci initialization.<br></blockquote><div><br></div><div>Thank you very much, I'll investigate that points.</div><div><br></div><div>Cheers,</div><div>Stefano</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
cheers,<br>
Gerd<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_7150514672131727249m_8390713433127817060gmail_signature"><div dir="ltr"><div><span style="font-family:monospace,monospace">Stefano Garzarella</span></div><div><span style="font-family:monospace,monospace">Red Hat</span><br></div></div></div></div></div>