Re: [Qemu-devel] Machine specific option ROMs

2019-08-20 Thread BALATON Zoltan
On Tue, 20 Aug 2019, Gerd Hoffmann wrote: Yes, how the guest treats those roms is another issue. bios/efi combo roms on x86 are not that uncommon. But I'm not sure how widespread bios/openfirmare combo roms are used (have been used) in practice. If I haven't heard about such BIOS/OF ROMs

Re: [Qemu-devel] Machine specific option ROMs

2019-08-20 Thread Gerd Hoffmann
Hi, > Plus I don't know if other firmwares such as sam460ex U-Boot can handle such > multiplatform ROMs, especially because it can use x86 ROM Yes, how the guest treats those roms is another issue. bios/efi combo roms on x86 are not that uncommon. But I'm not sure how widespread

Re: [Qemu-devel] Machine specific option ROMs

2019-08-20 Thread BALATON Zoltan
On Tue, 20 Aug 2019, Gerd Hoffmann wrote: For example in qemu 1.5 the nic roms got EFI support and there is a compat property which switches the pc-i440fx-1.4 (and older) machine types to the non-efi versions. Grep for pxe-e1000.rom to find the code. Note that roms with a pci firmware

Re: [Qemu-devel] Machine specific option ROMs

2019-08-20 Thread Gerd Hoffmann
Hi, > > For example in qemu 1.5 the nic roms got EFI support and there is a > > compat property which switches the pc-i440fx-1.4 (and older) machine > > types to the non-efi versions. Grep for pxe-e1000.rom to find the code. Note that roms with a pci firmware standard header[1] can be chained

Re: [Qemu-devel] Machine specific option ROMs

2019-08-19 Thread BALATON Zoltan
On Mon, 19 Aug 2019, Gerd Hoffmann wrote: > On Mon, Aug 19, 2019 at 02:38:09AM +0200, BALATON Zoltan wrote: >> I know about the possibility to set the option ROM of a PCIDevice with the >> romfile property (that we can set on command line or in a device's init >> method) but is there a way to set

Re: [Qemu-devel] Machine specific option ROMs

2019-08-19 Thread Gerd Hoffmann
On Mon, Aug 19, 2019 at 02:38:09AM +0200, BALATON Zoltan wrote: > Hello, > > I know about the possibility to set the option ROM of a PCIDevice with the > romfile property (that we can set on command line or in a device's init > method) but is there a way to set it depending on the machine that

[Qemu-devel] Machine specific option ROMs

2019-08-18 Thread BALATON Zoltan
Hello, I know about the possibility to set the option ROM of a PCIDevice with the romfile property (that we can set on command line or in a device's init method) but is there a way to set it depending on the machine that uses the device? If this is not currently possible what would be needed