All of lore.kernel.org
 help / color / mirror / Atom feed
* Onboarding QEMU Firmware Configuration to other machines
@ 2024-11-24 14:22 Anne Macedo
  2024-11-24 17:41 ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Anne Macedo @ 2024-11-24 14:22 UTC (permalink / raw)
  To: qemu-devel


Hello!

How should one port fw_cfg to other QEMU machines?

Context:

- I found a possible bug on the Debian builds for Raspberry Pi 4 that is
  only triggered when I try to launch it on QEMU;

- I wrote an issue on systemd (I thought it had something to do with
  logind) and they requested me to only fill bugs if they show up on the
  upstream.

- I tried baking systemd with mkosi – however, to test with mkosi and
  qemu, it uses fw_cfg [1] which seems specific to the virt machine on
  ARM.

- Opened an issue [2] and started working on that [3]

However, I still don't understand exactly how fw_cfg works. My current
understanding is that it is a device that, when connected some memory
mapping will happen on the guest so that it can access this memmap.

TL;DR which steps should I take to onboard fw_cfg to machines such as
raspi4b?

Thanks!
Anne


[1] https://github.com/systemd/mkosi/blob/6c33859a1b445e0bff19d9e7f28158140893a3e4/mkosi/config.py#L456

[2] https://gitlab.com/qemu-project/qemu/-/issues/2695

[3] https://gitlab.com/retpolanne/qemu/-/commit/86fca16555385c3685b7a1489a9cfaa255e148cf


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-25  9:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-24 14:22 Onboarding QEMU Firmware Configuration to other machines Anne Macedo
2024-11-24 17:41 ` Peter Maydell
2024-11-25  9:47   ` Daniel P. Berrangé

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.