[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH] hw/ppc/prep: Fix implicit creation o
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH] hw/ppc/prep: Fix implicit creation of "-drive if=scsi" devices |
Date: |
Thu, 8 Mar 2018 18:51:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 08/03/2018 11:45, Peter Maydell wrote:
> On 8 March 2018 at 10:26, Thomas Huth <address@hidden> 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
Re: [Qemu-ppc] [PATCH] hw/ppc/prep: Fix implicit creation of "-drive if=scsi" devices, Hervé Poussineau, 2018/03/08