Re: ROM files and non-x86

2025-02-18 Thread BALATON Zoltan
On Tue, 18 Feb 2025, Gerd Hoffmann wrote: On Tue, Feb 18, 2025 at 01:38:42PM +0300, Michael Tokarev wrote: Hi! Qemu system-mode emulation, when used with a NIC, loads a ROM file for network booting (and fails to start if such file is not provided). ROMs shipped in the source tarball are x86-onl

Re: ROM files and non-x86

2025-02-18 Thread Gerd Hoffmann
Hi, > > A similar question exists about seabios and vgabios - for example, > > virtio-vga device always tries to load vgabios.rom on all architectures, > > while on non-x86 it is useless. > > In this case it is more dodgy. I vaguely recall some code for > interpreting these BIOSes somewhere. Th

Re: ROM files and non-x86

2025-02-18 Thread Michal Suchánek
On Tue, Feb 18, 2025 at 12:49:07PM +0100, Michal Suchánek wrote: > On Tue, Feb 18, 2025 at 11:26:32AM +, Daniel P. Berrangé wrote: > > On Tue, Feb 18, 2025 at 12:03:46PM +0100, Michal Suchánek wrote: > > > Hello, > > > > > > this came up because these rom files are somewhat difficult to build

Re: ROM files and non-x86

2025-02-18 Thread Michal Suchánek
On Tue, Feb 18, 2025 at 11:26:32AM +, Daniel P. Berrangé wrote: > On Tue, Feb 18, 2025 at 12:03:46PM +0100, Michal Suchánek wrote: > > Hello, > > > > this came up because these rom files are somewhat difficult to build on > > non-x86, and distributions that have problem with distributing blobs

Re: ROM files and non-x86

2025-02-18 Thread Daniel P . Berrangé
On Tue, Feb 18, 2025 at 12:03:46PM +0100, Michal Suchánek wrote: > Hello, > > this came up because these rom files are somewhat difficult to build on > non-x86, and distributions that have problem with distributing blobs > verbatim may be missing them. How is the proposal going to help distros th

Re: ROM files and non-x86

2025-02-18 Thread Gerd Hoffmann
On Tue, Feb 18, 2025 at 01:38:42PM +0300, Michael Tokarev wrote: > Hi! > > Qemu system-mode emulation, when used with a NIC, loads a ROM file > for network booting (and fails to start if such file is not provided). > ROMs shipped in the source tarball are x86-only, so such loading does > nothing o

Re: ROM files and non-x86

2025-02-18 Thread Michal Suchánek
Hello, this came up because these rom files are somewhat difficult to build on non-x86, and distributions that have problem with distributing blobs verbatim may be missing them. On Tue, Feb 18, 2025 at 01:38:42PM +0300, Michael Tokarev wrote: > Hi! > > Qemu system-mode emulation, when used with

ROM files and non-x86

2025-02-18 Thread Michael Tokarev
Hi! Qemu system-mode emulation, when used with a NIC, loads a ROM file for network booting (and fails to start if such file is not provided). ROMs shipped in the source tarball are x86-only, so such loading does nothing on non-x86, where we just wasting guest memory, - since the ROM code can not