All of lore.kernel.org
 help / color / mirror / Atom feed
* HVM BIOS ROM and modules
@ 2020-08-24 22:29 Manuel Bouyer
  0 siblings, 0 replies; only message in thread
From: Manuel Bouyer @ 2020-08-24 22:29 UTC (permalink / raw)
  To: xen-devel

Hello again,
I'm now facing another issue with qemu-xen, this time on Xen 4.13

Starting a HVM domains with qemu-xen instead of qemu-dm fails with
(d9) Writing SMBIOS tables ...
(d9) Loading SeaBIOS ...
(d9) no BIOS ROM image found
(d9) *** HVMLoader bug at hvmloader.c:394
(d9) *** HVMLoader crashed.

I tracked this down to info->nr_modules being 0 in
hvmloader.c:get_module_entry()

but I failed to see where this is supposed to be initialised.
qemu-system-i386 does read the ROM file (I checked with ktrace) but
I can't see where it would setup info->nr_modules for the guest
(it does for PVH but not for HVM, AFAIK).
Is qemu supposed to setup modules params in info, or should
xl do it ? If the former, where does it happens in qemu-xen sources ?
If the later, how does it know which rom to load ?

thanks,

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-24 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24 22:29 HVM BIOS ROM and modules Manuel Bouyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.