On 2011-05-04 01:02, Glauber Costa wrote:
Also, let us not focus only in the specifics: Having two pci vga cards is a real possibility, there's even a use case for that, as anthony mentioned.
If you call the init function of two vga roms, will the last one win and hook int 10h?
Yes.
This might not always be the desired case. How can i control which card wins?
Bus enumeration order, only. But that's a good question. Maybe we should come up with a method other than bus enumeration for that. But at the tip of my tongue, none come to mind.
Normal BIOSes include an option in their menu to select the primary adapter. For QEMU use, we likely want some fw_cfg channel for this so that the user can select the primary adapter during VM configuration. Would be a nice feature.
Jan