Hi, > > And the bulk of that is loading the kernel from fw_cfg. > > Yes after further investigation that is correct. It looks like > fw_cfg has grown a DMA interface, but it's not used on x86. > > There is still a considerable amount of SeaBIOS overhead. In > particular, it scans the whole of the PCI bus looking for boot > devices, but that work is both slow and completely unnecessary if > we're using the linuxbios option ROM to boot.
There have been some experiments to strip down seabios config to speed up things. At least on q35 we also might consider using mmconfig, which I think will reduce the number of vmexits needed for pci config space access. Oh, and there also is qboot from paolo, but I think this is more a proof-of-concept thing to see where the limit is. cheers, Gerd