Re: Re: why various devices are loading x86 roms on non-x86 architectures?

2024-02-01 Thread Gerd Hoffmann
Hi, > There are also some PPC machines that have BIOS emulator in firmware and > would need the ROM to init the device but these have problems with QEMU's > gcc compiled ROMs that contain i386 opcodes and can't run these. That used to be standard practice in linux. Before we got kernel mode

Re: why various devices are loading x86 roms on non-x86 architectures?

2024-01-31 Thread BALATON Zoltan
On Wed, 31 Jan 2024, Peter Maydell wrote: On Wed, 31 Jan 2024 at 10:29, Michael Tokarev wrote: qemu-system-aarch64 -device virtio-vga this one loads vgabios-virtio.bin. Why? Does this bios work on aarch64 (or any other non-x86 arch)? Should there may be some conditional in this and similar

Re: why various devices are loading x86 roms on non-x86 architectures?

2024-01-31 Thread Peter Maydell
On Wed, 31 Jan 2024 at 10:29, Michael Tokarev wrote: > qemu-system-aarch64 -device virtio-vga > > this one loads vgabios-virtio.bin. Why? > Does this bios work on aarch64 (or any other non-x86 arch)? > Should there may be some conditional in this and similar places? > The same is true for x86

Re: why various devices are loading x86 roms on non-x86 architectures?

2024-01-31 Thread Jiaxun Yang
在 2024/1/31 10:28, Michael Tokarev 写道: Hi! qemu-system-aarch64 -device virtio-vga this one loads vgabios-virtio.bin.  Why? Does this bios work on aarch64 (or any other non-x86 arch)? Should there may be some conditional in this and similar places? The same is true for x86 pxe roms and other

why various devices are loading x86 roms on non-x86 architectures?

2024-01-31 Thread Michael Tokarev
Hi! qemu-system-aarch64 -device virtio-vga this one loads vgabios-virtio.bin. Why? Does this bios work on aarch64 (or any other non-x86 arch)? Should there may be some conditional in this and similar places? The same is true for x86 pxe roms and other x86-only roms. Thanks, /mjt