[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/5] tests/acceptance: Add test that runs NetBSD
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH 1/5] tests/acceptance: Add test that runs NetBSD installer on PRep/40p |
Date: |
Fri, 5 Jul 2019 20:00:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
Hi Kamil,
On 6/27/19 11:47 PM, Kamil Rytarowski wrote:
> On 27.06.2019 13:01, Philippe Mathieu-Daudé wrote:
>> + bios_url = ('ftp://ftp.boulder.ibm.com/rs6000/firmware/'
>> + '7020-40p/P12H0456.IMG')
>> + bios_hash = '1775face4e6dc27f3a6ed955ef6eb331bf817f03'
>> + bios_path = self.fetch_asset(bios_url, asset_hash=bios_hash)
>> + drive_url = ('https://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/'
>> + 'NetBSD-4.0/prep/installation/floppy/generic_com0.fs')
>> + drive_hash = 'dbcfc09912e71bd5f0d82c7c1ee43082fb596ceb'
>> + drive_path = self.fetch_asset(drive_url, asset_hash=drive_hash)
>> +
>> + self.vm.set_machine('40p')
>> + self.vm.set_console()
>> + self.vm.add_args('-bios', bios_path,
>> + '-fda', drive_path)
>> + self.vm.launch()
>> + os_banner = 'NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:49:40 PST 2007'
>
> Is there a specific reason to use NetBSD 4.0? It's a very old release,
> the newest one is 8.1.
The goal of these integration tests is to verify a specific
configuration that worked in the past still works with today codebase.
It is particularly useful for machines that have not a big quantity of
users.
This test does not intent to test NetBSD, but that the PReP/40p machine
is still working, as it used to work in the post saved in the commit
description:
http://mail-index.netbsd.org/port-prep/2017/04/11/msg000112.html
So this test is useful to avoid the PReP machine code to bitrot.
I'd like to know what other from the QEMU community think/expect about
these tests.
FWIW I tested newer versions and they don't boot.
Regards,
Phil.