qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* missing boot rom: is it really a fatal error?
@ 2023-05-07 17:56 Michael Tokarev
  2023-05-08 10:12 ` Thomas Huth
  2023-05-08 10:28 ` Michael S. Tsirkin
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Tokarev @ 2023-05-07 17:56 UTC (permalink / raw)
  To: QEMU Developers, Marcel Apfelbaum, Markus Armbruster

Hi!

In old good world ;), there was qemu which didn't require boot roms to be present
for all devices for which bootrom file is defined, missing rom was just a warning.
But this changed in 2014, 9 years ago, with this commit:

commit 178e785fb4507ec3462dc772bbe08303416ece47
From: Marcel Apfelbaum <marcel.a@redhat.com>
Date: Mon, 27 Oct 2014 19:34:41 +0200
Subject: [PATCH] hw/pci: fixed error flow in pci_qdev_init

   Verify return code for pci_add_option_rom.

where inability to load rom file started being treated as an error.
Up until now I didn't even know about this change, until today when someone bugged
me about non-working qemu on debian, due to missing network boot roms (this a
packaging issue due to me being unaware of the above change).

What is the reason to require boot roms to be present and throw an error if not?

I'm about to revert that old change on debian, to make it just a warning instead
of an error (the code is different now, but the same principle applies), - because
I dislike dependencies which are useless 99.9% of the time and are trivial to
install when actually needed.

Thanks,

/mjt


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

end of thread, other threads:[~2023-05-15 17:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07 17:56 missing boot rom: is it really a fatal error? Michael Tokarev
2023-05-08 10:12 ` Thomas Huth
2023-05-08 10:28 ` Michael S. Tsirkin
2023-05-08 10:37   ` Markus Armbruster
2023-05-08 10:42   ` Michael Tokarev
2023-05-08 11:47     ` Michael S. Tsirkin
2023-05-15 16:02       ` Warner Losh
2023-05-15 17:46         ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).