All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: xen-devel@lists.xen.org
Subject: HVM BIOS ROM and modules
Date: Tue, 25 Aug 2020 00:29:18 +0200	[thread overview]
Message-ID: <20200824222918.GA522@antioche.eu.org> (raw)

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
--


                 reply	other threads:[~2020-08-24 22:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200824222918.GA522@antioche.eu.org \
    --to=bouyer@antioche.eu.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.