On 08/03/2018 11:45, Peter Maydell wrote: > On 8 March 2018 at 10:26, Thomas Huth <th...@redhat.com> wrote: >> The problem is rather that we still need more automatic regression tests >> for stuff like this. I already have got something in mind for a new >> qtest: If "mkisofs" or "genisoimage" is available, we could create a >> boot CD-ROM automatically using the boot code from tests/boot-sector.c. >> Then the test could try to boot from that CD-ROM to check whether >> "--cdrom" is still working as expected. What do you think, does that >> sound reasonable? > > That's probably a good plan, though it wouldn't be able to cover > boards like versatile/realview that can't boot from a cdrom.
We don't need to boot, we "only" need to have a qtest that sends an INQUIRY command. The code to bring up the LSI HBA can be copied from SeaBIOS, what's missing is libqos ports for the various PCI bridges... Paolo