Skip to contentSkip to conversation

Maintainers, please tell us how to boot your machines!

Qemu-devel Markus Armbruster 10 participants 20 messages Mar 19, 2019 – Jan 13, 2020 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 52 lines · Markus Armbruster

Dear board code maintainers,

This is a (rather late) follow-up to the last QEMU summit. Minutes[*]:

* Deprecating unmaintained features (devices, targets, backends) in QEMU

QEMU has a mechanism to deprecate features but there remains a lot of old unmaintained code. Refactoring is hindered by untested legacy code, so there is a desire to deprecate unmaintained features more often.

[...]

We should require at least a minimal test for each board; if nobody cares enough to come up with one, that board should be deprecated.

   [...]

   Also see the qemu-devel discussion about deprecating code:
   https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg05828.html.

That's a link to "Minutes of KVM Forum BoF on deprecating stuff". Quote:

* One obvious class of candidates for removal is machines we don't know how to boot, or can't boot, say because we lack required firmware and/or OS.

Of course, "can boot" should be an automated test. As a first step towards that, we should at least document how to boot each machine. We're going to ask machine maintainers to do that.

Let's get going on this.

I gathered the machine types, mapped them to source files, which I fed to get_maintainer.pl. Results are appended. If you're cc'ed, MAINTAINERS fingers you for at least one machine type's source file. Please tell us for all of them how to to a "meaningful" boot test.

For now, what's "meaningful" is entirely up to you. Booting Linux certainly is.

Make sure to include a complete QEMU command line. If your QEMU command line requires resources beyond the QEMU source tree and what we build from it, please detail them, and provide download URLs as far as possible.

Goals for this exercise:

* Gather information we need to cover more machines in our automated testing.

Quoted 8 lines

Related work:
[PATCH v4 00/19] Acceptance Tests: target architecture support
Message-Id: <[email protected]>
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg03881.html

* Maybe identify a few machines we don't know how to boot anymore.

Thanks in advance for your help!

Quite a few maintainers replied, and a few others, too. Thank you!

I still have to fully digest the replies, in particular whether there's enough detail for me to actually boot a guest.

I'm still lacking information on 26 machines. If you're cc'ed, you're considered a possible source of information. Please help.

If you're a supporter or maintainer, but can't help, please consider adjusting MAINTAINERS to S: Odd Fixes for the machine.

Machines with at least one supporter:

= hw/xenpv/xen_machine_pv.c =
Stefano Stabellini <[email protected]> (supporter:X86) Anthony Perard <[email protected]> (supporter:X86) Paul Durrant <[email protected]> (supporter:X86) [email protected] (open list:X86)

Machines with no supporter, but at least one maintainer:

= hw/arm/integratorcp.c =
Peter Maydell <[email protected]> (maintainer:Integrator CP) [email protected] (open list:Integrator CP)

= hw/arm/omap_sx1.c =
Peter Maydell <[email protected]> (maintainer:OMAP) [email protected] (open list:ARM)

= hw/mips/mips_jazz.c =
"Hervé Poussineau" <[email protected]> (maintainer:Jazz) Aleksandar Rikalo <[email protected]> (reviewer:Jazz) Aurelien Jarno <[email protected]> (maintainer:MIPS) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/mips/mips_r4k.c =
Aurelien Jarno <[email protected]> (maintainer:R4000) Aleksandar Rikalo <[email protected]> (reviewer:R4000) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/moxie/moxiesim.c =
Anthony Green <[email protected]> (maintainer:Moxie)

= hw/nios2/10m50_devboard.c =
Chris Wulff <[email protected]> (maintainer:NiosII) Marek Vasut <[email protected]> (maintainer:NiosII)

= hw/ppc/virtex_ml507.c =
"Edgar E. Iglesias" <[email protected]> (odd fixer:virtex_ml507) David Gibson <[email protected]> (maintainer:PowerPC) [email protected] (open list:virtex_ml507)

= hw/tricore/tricore_testboard.c =
Bastian Koppelmann <[email protected]> (maintainer:TriCore)

= hw/unicore32/puv3.c =
Guan Xuetao <[email protected]> (maintainer:UniCore32)

Machines with no maintainer and no supporter:

= hw/arm/collie.c =
Peter Maydell <[email protected]> (odd fixer:Sharp SL-5500 (Co...) [email protected] (open list:Sharp SL-5500 (Co...)

= hw/arm/exynos4_boards.c =
Igor Mitsyanko <[email protected]> (odd fixer:Exynos) Peter Maydell <[email protected]> (odd fixer:Exynos) [email protected] (open list:Exynos)

= hw/arm/imx25_pdk.c =
Peter Maydell <[email protected]> (odd fixer:i.MX25 PDK) Jean-Christophe Dubois <[email protected]> (reviewer:i.MX25 PDK) [email protected] (open list:i.MX25 PDK)

= hw/arm/mainstone.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/mcimx6ul-evk.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX6UL EVK / i....) Jean-Christophe Dubois <[email protected]> (reviewer:MCIMX6UL EVK / i....) [email protected] (open list:MCIMX6UL EVK / i....)

= hw/arm/mcimx7d-sabre.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX7D SABRE / i...) Andrey Smirnov <[email protected]> (reviewer:MCIMX7D SABRE / i...) [email protected] (open list:MCIMX7D SABRE / i...)

= hw/arm/musicpal.c =
Jan Kiszka <[email protected]> (odd fixer:Musicpal) Peter Maydell <[email protected]> (odd fixer:Musicpal) [email protected] (open list:Musicpal)

= hw/arm/palm.c =
Andrzej Zaborowski <[email protected]> (odd fixer:Palm) Peter Maydell <[email protected]> (odd fixer:Palm) [email protected] (open list:Palm)

= hw/arm/sabrelite.c =
Peter Maydell <[email protected]> (odd fixer:SABRELITE / i.MX6) Jean-Christophe Dubois <[email protected]> (reviewer:SABRELITE / i.MX6) [email protected] (open list:SABRELITE / i.MX6)

= hw/arm/spitz.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/tosa.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/z2.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/ppc/mpc8544ds.c =
David Gibson <[email protected]> (odd fixer:mpc8544ds) [email protected] (open list:mpc8544ds)
Alexander Graf <[email protected]> (ratted out by David)

= hw/ppc/ppc405_boards.c =
David Gibson <[email protected]> (odd fixer:ppc4xx) [email protected] (open list:ppc4xx) (ratted out by David)

Machines in danger of being orphaned & deprecated:

= hw/lm32/lm32_boards.c =
Michael Walle <[email protected]> (maintainer:LM32)

= hw/lm32/milkymist.c =
Michael Walle <[email protected]> (maintainer:milkymist)

Targets where we have received information for *no* machine so far:

    lm32
    moxie
    nios2
    tricore
    unicore

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw

On Tue, 19 Mar 2019 at 18:34, Markus Armbruster <[email protected]> wrote:

Here are some command lines from my image zoo. Unfortunately typically the images themselves are random accumulations from people and I have no idea how to rebuild them (and they are thus not redistributable, generally).

Quoted 3 lines

= hw/arm/integratorcp.c =
Peter Maydell <[email protected]> (maintainer:Integrator CP) [email protected] (open list:Integrator CP)

${QEMU} \
-M integratorcp \
-kernel "${TESTDIR}"/zImage.integrator \
-initrd "${TESTDIR}"/arm_root.img -serial stdio \
-append "console=ttyAMA0"

(I think this test image and kernel used to be kicking around on the QEMU wiki at one point. Provenance unknown, naturally.)

Quoted 4 lines

= hw/arm/musicpal.c =
Jan Kiszka <[email protected]> (odd fixer:Musicpal) Peter Maydell <[email protected]> (odd fixer:Musicpal) [email protected] (open list:Musicpal)

${QEMU} \
-machine musicpal \
-pflash "${TESTDIR}"/musicpal.image -snapshot \
-kernel "${TESTDIR}"/u-boot.image -serial stdio

I got the test image from Jan ages ago. No idea how to rebuild.

Quoted 4 lines

= hw/arm/sabrelite.c =
Peter Maydell <[email protected]> (odd fixer:SABRELITE / i.MX6) Jean-Christophe Dubois <[email protected]> (reviewer:SABRELITE / i.MX6) [email protected] (open list:SABRELITE / i.MX6)

${QEMU} \
-smp 4 -M sabrelite -m 1024M -display none \
-no-reboot -kernel "${TESTDIR}"/zImage \
-initrd "${TESTDIR}"/rootfs.cpio.gz \
-dtb "${TESTDIR}"/imx6q-sabrelite.dtb \
-serial null -serial stdio

Quoted 5 lines

= hw/arm/spitz.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

${QEMU} -M spitz \
-kernel "${TESTDIR}"/zaurus-test/zImage.zaurus \
-initrd "${TESTDIR}"/zaurus-test/zaurus_root.img -serial stdio \
-append 'console=ttyS0,115200n8 init=/bin/bash'

Quoted 4 lines

= hw/arm/z2.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

${QEMU} \
-M z2 -pflash "${TESTDIR}"/zipit.flash \
-sd "${TESTDIR}"/zipit.sd \
-show-cursor -serial null -serial null -serial null \
-kernel "${TESTDIR}"/uImage \
-append "console=tty0 fbcon=rotate:3 root=/dev/mmcblk0 ro rootdelay=3" \
-rotate 270

Quoted 2 lines

= hw/lm32/milkymist.c =
Michael Walle <[email protected]> (maintainer:milkymist)

${QEMU} -M milkymist -serial stdio -kernel "${TESTDIR}"/flickernoise

thanks
-- PMM

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw
In reply to Markus Armbruster
Quoted 5 lines · Markus Armbruster

= hw/xenpv/xen_machine_pv.c =
Stefano Stabellini <[email protected]> (supporter:X86) Anthony Perard <[email protected]> (supporter:X86) Paul Durrant <[email protected]> (supporter:X86) [email protected] (open list:X86)

That machine requires Xen to be started and at least one service, xenstore.

In dom0, when it's used to attach more disks to dom0:

$QEMU -M xenpv -xen-domid 0 -xen-attach \
        -name dom0 -nographic  -daemonize \
        -monitor /dev/null -serial /dev/null -parallel /dev/null \
        -nodefaults -no-user-config

Communication is then done via xenstore to attach disks, we would use xl block-attach for that.

Another example, when we start a guest and want to attach qcow disk and VNC. Our tool stack (xl / libxl) would first create the domain then start QEMU:

$QEMU -machine xenpv -xen-domid 6 -xen-attach \
        -name pv-arch \
        -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait \
        -mon chardev=libxl-cmd,mode=control \
        -no-shutdown -nodefaults -no-user-config \
        -vnc 0.0.0.0:0,to=99 \
        -display none -m 1024

Is that enough information?

Also, we do automated tests of QEMU. It is done by `osstest' and the results are sent to [email protected].
One example of a test result:

    https://lists.xenproject.org/archives/html/xen-devel/2019-03/msg01577.html

Thanks,

Signature · 6 lines
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#4 lore raw
In reply to Markus Armbruster
Quoted 5 lines · Markus Armbruster

= hw/xenpv/xen_machine_pv.c =
Stefano Stabellini <[email protected]> (supporter:X86) Anthony Perard <[email protected]> (supporter:X86) Paul Durrant <[email protected]> (supporter:X86) [email protected] (open list:X86)

That machine requires Xen to be started and at least one service, xenstore.

In dom0, when it's used to attach more disks to dom0:

$QEMU -M xenpv -xen-domid 0 -xen-attach \
        -name dom0 -nographic  -daemonize \
        -monitor /dev/null -serial /dev/null -parallel /dev/null \
        -nodefaults -no-user-config

Communication is then done via xenstore to attach disks, we would use xl block-attach for that.

Another example, when we start a guest and want to attach qcow disk and VNC. Our tool stack (xl / libxl) would first create the domain then start QEMU:

$QEMU -machine xenpv -xen-domid 6 -xen-attach \
        -name pv-arch \
        -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait \
        -mon chardev=libxl-cmd,mode=control \
        -no-shutdown -nodefaults -no-user-config \
        -vnc 0.0.0.0:0,to=99 \
        -display none -m 1024

Is that enough information?

Also, we do automated tests of QEMU. It is done by `osstest' and the results are sent to [email protected].
One example of a test result:

    https://lists.xenproject.org/archives/html/xen-devel/2019-03/msg01577.html

Thanks,

Signature · 1 line
Anthony PERARD
#5 lore raw
Quoted 32 lines · Anthony PERARD
Quoted 5 lines · Markus Armbruster

= hw/xenpv/xen_machine_pv.c =
Stefano Stabellini <[email protected]> (supporter:X86) Anthony Perard <[email protected]> (supporter:X86) Paul Durrant <[email protected]> (supporter:X86) [email protected] (open list:X86)

That machine requires Xen to be started and at least one service, xenstore.

In dom0, when it's used to attach more disks to dom0:

$QEMU -M xenpv -xen-domid 0 -xen-attach \
        -name dom0 -nographic  -daemonize \
        -monitor /dev/null -serial /dev/null -parallel /dev/null \
        -nodefaults -no-user-config

Communication is then done via xenstore to attach disks, we would use xl block-attach for that.

Another example, when we start a guest and want to attach qcow disk and VNC. Our tool stack (xl / libxl) would first create the domain then start QEMU:

$QEMU -machine xenpv -xen-domid 6 -xen-attach \
        -name pv-arch \
        -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait \
        -mon chardev=libxl-cmd,mode=control \
        -no-shutdown -nodefaults -no-user-config \
        -vnc 0.0.0.0:0,to=99 \
        -display none -m 1024
Quoted 1 line

Is that enough information?

At a glance, yes. Thanks!

Quoted 6 lines

Also, we do automated tests of QEMU. It is done by `osstest' and the results are sent to [email protected].
One example of a test result:

    https://lists.xenproject.org/archives/html/xen-devel/2019-03/msg01577.html

Thanks,

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#6 lore raw
In reply to Markus Armbruster
Quoted 205 lines · Markus Armbruster
Quoted 11 lines · Markus Armbruster

Dear board code maintainers,

This is a (rather late) follow-up to the last QEMU summit. Minutes[*]:

* Deprecating unmaintained features (devices, targets, backends) in QEMU

QEMU has a mechanism to deprecate features but there remains a lot of old unmaintained code. Refactoring is hindered by untested legacy code, so there is a desire to deprecate unmaintained features more often.

Quoted 9 lines

[...]

We should require at least a minimal test for each board; if nobody cares enough to come up with one, that board should be deprecated.

[...]

Also see the qemu-devel discussion about deprecating code:

https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg05828.html.

Quoted 32 lines

That's a link to "Minutes of KVM Forum BoF on deprecating stuff". Quote:

* One obvious class of candidates for removal is machines we don't know how to boot, or can't boot, say because we lack required firmware and/or OS.

Of course, "can boot" should be an automated test. As a first step towards that, we should at least document how to boot each machine. We're going to ask machine maintainers to do that.

Let's get going on this.

I gathered the machine types, mapped them to source files, which I fed to get_maintainer.pl. Results are appended. If you're cc'ed, MAINTAINERS fingers you for at least one machine type's source file. Please tell us for all of them how to to a "meaningful" boot test.

For now, what's "meaningful" is entirely up to you. Booting Linux certainly is.

Make sure to include a complete QEMU command line. If your QEMU command line requires resources beyond the QEMU source tree and what we build from it, please detail them, and provide download URLs as far as possible.

Goals for this exercise:

* Gather information we need to cover more machines in our automated testing.

Quoted 8 lines

Related work:
[PATCH v4 00/19] Acceptance Tests: target architecture support
Message-Id: <[email protected]>
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg03881.html

* Maybe identify a few machines we don't know how to boot anymore.

Thanks in advance for your help!

Quite a few maintainers replied, and a few others, too. Thank you!

I still have to fully digest the replies, in particular whether there's enough detail for me to actually boot a guest.

I'm still lacking information on 26 machines. If you're cc'ed, you're considered a possible source of information. Please help.

If you're a supporter or maintainer, but can't help, please consider adjusting MAINTAINERS to S: Odd Fixes for the machine.

Machines with at least one supporter:

= hw/xenpv/xen_machine_pv.c =
Stefano Stabellini <[email protected]> (supporter:X86) Anthony Perard <[email protected]> (supporter:X86) Paul Durrant <[email protected]> (supporter:X86) [email protected] (open list:X86)

Machines with no supporter, but at least one maintainer:

= hw/arm/integratorcp.c =
Peter Maydell <[email protected]> (maintainer:Integrator CP) [email protected] (open list:Integrator CP)

= hw/arm/omap_sx1.c =
Peter Maydell <[email protected]> (maintainer:OMAP) [email protected] (open list:ARM)

= hw/mips/mips_jazz.c =
"Hervé Poussineau" <[email protected]> (maintainer:Jazz) Aleksandar Rikalo <[email protected]> (reviewer:Jazz) Aurelien Jarno <[email protected]> (maintainer:MIPS) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/mips/mips_r4k.c =
Aurelien Jarno <[email protected]> (maintainer:R4000) Aleksandar Rikalo <[email protected]> (reviewer:R4000) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/moxie/moxiesim.c =
Anthony Green <[email protected]> (maintainer:Moxie)

= hw/nios2/10m50_devboard.c =
Chris Wulff <[email protected]> (maintainer:NiosII) Marek Vasut <[email protected]> (maintainer:NiosII)

= hw/ppc/virtex_ml507.c =
"Edgar E. Iglesias" <[email protected]> (odd
fixer:virtex_ml507)
David Gibson <[email protected]> (maintainer:PowerPC) [email protected] (open list:virtex_ml507)

= hw/tricore/tricore_testboard.c =
Bastian Koppelmann <[email protected]>
(maintainer:TriCore)

= hw/unicore32/puv3.c =
Guan Xuetao <[email protected]> (maintainer:UniCore32)

Machines with no maintainer and no supporter:

= hw/arm/collie.c =
Peter Maydell <[email protected]> (odd fixer:Sharp SL-5500
(Co...)
[email protected] (open list:Sharp SL-5500 (Co...)

= hw/arm/exynos4_boards.c =
Igor Mitsyanko <[email protected]> (odd fixer:Exynos) Peter Maydell <[email protected]> (odd fixer:Exynos) [email protected] (open list:Exynos)

= hw/arm/imx25_pdk.c =
Peter Maydell <[email protected]> (odd fixer:i.MX25 PDK) Jean-Christophe Dubois <[email protected]> (reviewer:i.MX25 PDK) [email protected] (open list:i.MX25 PDK)

= hw/arm/mainstone.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/mcimx6ul-evk.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX6UL EVK /
i....)
Jean-Christophe Dubois <[email protected]> (reviewer:MCIMX6UL EVK /
i....)
[email protected] (open list:MCIMX6UL EVK / i....)

= hw/arm/mcimx7d-sabre.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX7D SABRE /
i...)
Andrey Smirnov <[email protected]> (reviewer:MCIMX7D SABRE /
i...)
[email protected] (open list:MCIMX7D SABRE / i...)

= hw/arm/musicpal.c =
Jan Kiszka <[email protected]> (odd fixer:Musicpal) Peter Maydell <[email protected]> (odd fixer:Musicpal) [email protected] (open list:Musicpal)

= hw/arm/palm.c =
Andrzej Zaborowski <[email protected]> (odd fixer:Palm) Peter Maydell <[email protected]> (odd fixer:Palm) [email protected] (open list:Palm)

= hw/arm/sabrelite.c =
Peter Maydell <[email protected]> (odd fixer:SABRELITE / i.MX6) Jean-Christophe Dubois <[email protected]> (reviewer:SABRELITE /
i.MX6)
[email protected] (open list:SABRELITE / i.MX6)

= hw/arm/spitz.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/tosa.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/z2.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/ppc/mpc8544ds.c =
David Gibson <[email protected]> (odd fixer:mpc8544ds) [email protected] (open list:mpc8544ds)
Alexander Graf <[email protected]> (ratted out by David)

= hw/ppc/ppc405_boards.c =
David Gibson <[email protected]> (odd fixer:ppc4xx) [email protected] (open list:ppc4xx) (ratted out by David)

Machines in danger of being orphaned & deprecated:

= hw/lm32/lm32_boards.c =
Michael Walle <[email protected]> (maintainer:LM32)

Quoted 9 lines

= hw/lm32/milkymist.c =
Michael Walle <[email protected]> (maintainer:milkymist)

Targets where we have received information for *no* machine so far:

    lm32
    moxie
    nios2

Sandra Loosemore seems to use this board.

tricore

Quoted 3 lines

unicore

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#7 lore raw
In reply to Markus Armbruster
Quoted 205 lines · Markus Armbruster
Quoted 11 lines · Markus Armbruster

Dear board code maintainers,

This is a (rather late) follow-up to the last QEMU summit. Minutes[*]:

* Deprecating unmaintained features (devices, targets, backends) in QEMU

QEMU has a mechanism to deprecate features but there remains a lot of old unmaintained code. Refactoring is hindered by untested legacy code, so there is a desire to deprecate unmaintained features more often.

Quoted 9 lines

[...]

We should require at least a minimal test for each board; if nobody cares enough to come up with one, that board should be deprecated.

[...]

Also see the qemu-devel discussion about deprecating code:

https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg05828.html.

Quoted 32 lines

That's a link to "Minutes of KVM Forum BoF on deprecating stuff". Quote:

* One obvious class of candidates for removal is machines we don't know how to boot, or can't boot, say because we lack required firmware and/or OS.

Of course, "can boot" should be an automated test. As a first step towards that, we should at least document how to boot each machine. We're going to ask machine maintainers to do that.

Let's get going on this.

I gathered the machine types, mapped them to source files, which I fed to get_maintainer.pl. Results are appended. If you're cc'ed, MAINTAINERS fingers you for at least one machine type's source file. Please tell us for all of them how to to a "meaningful" boot test.

For now, what's "meaningful" is entirely up to you. Booting Linux certainly is.

Make sure to include a complete QEMU command line. If your QEMU command line requires resources beyond the QEMU source tree and what we build from it, please detail them, and provide download URLs as far as possible.

Goals for this exercise:

* Gather information we need to cover more machines in our automated testing.

Quoted 8 lines

Related work:
[PATCH v4 00/19] Acceptance Tests: target architecture support
Message-Id: <[email protected]>
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg03881.html

* Maybe identify a few machines we don't know how to boot anymore.

Thanks in advance for your help!

Quite a few maintainers replied, and a few others, too. Thank you!

I still have to fully digest the replies, in particular whether there's enough detail for me to actually boot a guest.

I'm still lacking information on 26 machines. If you're cc'ed, you're considered a possible source of information. Please help.

If you're a supporter or maintainer, but can't help, please consider adjusting MAINTAINERS to S: Odd Fixes for the machine.

Machines with at least one supporter:

= hw/xenpv/xen_machine_pv.c =
Stefano Stabellini <[email protected]> (supporter:X86) Anthony Perard <[email protected]> (supporter:X86) Paul Durrant <[email protected]> (supporter:X86) [email protected] (open list:X86)

Machines with no supporter, but at least one maintainer:

= hw/arm/integratorcp.c =
Peter Maydell <[email protected]> (maintainer:Integrator CP) [email protected] (open list:Integrator CP)

= hw/arm/omap_sx1.c =
Peter Maydell <[email protected]> (maintainer:OMAP) [email protected] (open list:ARM)

= hw/mips/mips_jazz.c =
"Hervé Poussineau" <[email protected]> (maintainer:Jazz) Aleksandar Rikalo <[email protected]> (reviewer:Jazz) Aurelien Jarno <[email protected]> (maintainer:MIPS) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/mips/mips_r4k.c =
Aurelien Jarno <[email protected]> (maintainer:R4000) Aleksandar Rikalo <[email protected]> (reviewer:R4000) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/moxie/moxiesim.c =
Anthony Green <[email protected]> (maintainer:Moxie)

= hw/nios2/10m50_devboard.c =
Chris Wulff <[email protected]> (maintainer:NiosII) Marek Vasut <[email protected]> (maintainer:NiosII)

= hw/ppc/virtex_ml507.c =
"Edgar E. Iglesias" <[email protected]> (odd
fixer:virtex_ml507)
David Gibson <[email protected]> (maintainer:PowerPC) [email protected] (open list:virtex_ml507)

= hw/tricore/tricore_testboard.c =
Bastian Koppelmann <[email protected]>
(maintainer:TriCore)

= hw/unicore32/puv3.c =
Guan Xuetao <[email protected]> (maintainer:UniCore32)

Machines with no maintainer and no supporter:

= hw/arm/collie.c =
Peter Maydell <[email protected]> (odd fixer:Sharp SL-5500
(Co...)
[email protected] (open list:Sharp SL-5500 (Co...)

= hw/arm/exynos4_boards.c =
Igor Mitsyanko <[email protected]> (odd fixer:Exynos) Peter Maydell <[email protected]> (odd fixer:Exynos) [email protected] (open list:Exynos)

= hw/arm/imx25_pdk.c =
Peter Maydell <[email protected]> (odd fixer:i.MX25 PDK) Jean-Christophe Dubois <[email protected]> (reviewer:i.MX25 PDK) [email protected] (open list:i.MX25 PDK)

= hw/arm/mainstone.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/mcimx6ul-evk.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX6UL EVK /
i....)
Jean-Christophe Dubois <[email protected]> (reviewer:MCIMX6UL EVK /
i....)
[email protected] (open list:MCIMX6UL EVK / i....)

= hw/arm/mcimx7d-sabre.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX7D SABRE /
i...)
Andrey Smirnov <[email protected]> (reviewer:MCIMX7D SABRE /
i...)
[email protected] (open list:MCIMX7D SABRE / i...)

= hw/arm/musicpal.c =
Jan Kiszka <[email protected]> (odd fixer:Musicpal) Peter Maydell <[email protected]> (odd fixer:Musicpal) [email protected] (open list:Musicpal)

= hw/arm/palm.c =
Andrzej Zaborowski <[email protected]> (odd fixer:Palm) Peter Maydell <[email protected]> (odd fixer:Palm) [email protected] (open list:Palm)

= hw/arm/sabrelite.c =
Peter Maydell <[email protected]> (odd fixer:SABRELITE / i.MX6) Jean-Christophe Dubois <[email protected]> (reviewer:SABRELITE /
i.MX6)
[email protected] (open list:SABRELITE / i.MX6)

= hw/arm/spitz.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/tosa.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/z2.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/ppc/mpc8544ds.c =
David Gibson <[email protected]> (odd fixer:mpc8544ds) [email protected] (open list:mpc8544ds)
Alexander Graf <[email protected]> (ratted out by David)

= hw/ppc/ppc405_boards.c =
David Gibson <[email protected]> (odd fixer:ppc4xx) [email protected] (open list:ppc4xx) (ratted out by David)

Machines in danger of being orphaned & deprecated:

= hw/lm32/lm32_boards.c =
Michael Walle <[email protected]> (maintainer:LM32)

Quoted 9 lines

= hw/lm32/milkymist.c =
Michael Walle <[email protected]> (maintainer:milkymist)

Targets where we have received information for *no* machine so far:

    lm32
    moxie
    nios2

Sandra Loosemore seems to use this board.

tricore

Quoted 3 lines

unicore

#8 lore raw
In reply to Markus Armbruster
Quoted 17 lines

-----Original Messages-----
From: "Markus Armbruster" <[email protected]>
Sent Time: 2019-03-20 02:34:45 (Wednesday)
To: [email protected]
Cc: "Edgar E. Iglesias" <[email protected]>, "Hervé Poussineau" <[email protected]>, "Aleksandar Markovic" <[email protected]>, "Aleksandar Rikalo" <[email protected]>, "Alexander Graf" <[email protected]>, "Andrey Smirnov" <[email protected]>, "Andrzej Zaborowski" <[email protected]>, "Anthony Green" <[email protected]>, "Anthony Perard" <[email protected]>, "Aurelien Jarno" <[email protected]>, "Bastian Koppelmann" <[email protected]>, "Chris Wulff" <[email protected]>, "Guan Xuetao" <[email protected]>, "Igor Mitsyanko" <[email protected]>, "Jan Kiszka" <[email protected]>, "Jean-Christophe Dubois" <[email protected]>, "Marek Vasut" <[email protected]>, "Paul Durrant" <[email protected]>, "Peter Maydell" <[email protected]>, "Stefano Stabellini" <[email protected]>, [email protected], [email protected], [email protected]
Subject: Re: Maintainers, please tell us how to boot your machines!

[...]

Machines with no supporter, but at least one maintainer:

    [...]

    = hw/unicore32/puv3.c =
    Guan Xuetao <[email protected]> (maintainer:UniCore32)
Quoted 4 lines

Targets where we have received information for *no* machine so far:

    [...]
    unicore

I'm here. Now I can finally deal with my email account <[email protected]> after several years chaos. Anyway, sorry for so late.

To boot unicore32 machine, following commands are tested in branch stable-2.7:

To configure unicore32 target:

 ./configure     --target-list=unicore32-softmmu                         \
                 --enable-debug                                          \
                 --disable-sdl                                           \
                 --enable-curses                                         \
                 --extra-cflags="-D restrict=restricT"                   \

To run a simple busybox image on qemu-defconfig kernel:
./qemu-system-unicore32 -curses -M puv3 -m 512 -icount 0 -kernel somedir/zImage

Please check github for more details: https://github.com/gxt/UniCore32

Thanks,
Guan Xuetao

#9 lore raw
In reply to Markus Armbruster
Quoted 17 lines

-----Original Messages-----
From: "Markus Armbruster" <[email protected]>
Sent Time: 2019-03-20 02:34:45 (Wednesday)
To: [email protected]
Cc: "Edgar E. Iglesias" <[email protected]>, "Hervé Poussineau" <[email protected]>, "Aleksandar Markovic" <[email protected]>, "Aleksandar Rikalo" <[email protected]>, "Alexander Graf" <[email protected]>, "Andrey Smirnov" <[email protected]>, "Andrzej Zaborowski" <[email protected]>, "Anthony Green" <[email protected]>, "Anthony Perard" <[email protected]>, "Aurelien Jarno" <[email protected]>, "Bastian Koppelmann" <[email protected]>, "Chris Wulff" <[email protected]>, "Guan Xuetao" <[email protected]>, "Igor Mitsyanko" <[email protected]>, "Jan Kiszka" <[email protected]>, "Jean-Christophe Dubois" <[email protected]>, "Marek Vasut" <[email protected]>, "Paul Durrant" <[email protected]>, "Peter Maydell" <[email protected]>, "Stefano Stabellini" <[email protected]>, [email protected], [email protected], [email protected]
Subject: Re: Maintainers, please tell us how to boot your machines!

[...]

Machines with no supporter, but at least one maintainer:

    [...]

    = hw/unicore32/puv3.c =
    Guan Xuetao <[email protected]> (maintainer:UniCore32)
Quoted 4 lines

Targets where we have received information for *no* machine so far:

    [...]
    unicore

I'm here. Now I can finally deal with my email account <[email protected]> after several years chaos. Anyway, sorry for so late.

To boot unicore32 machine, following commands are tested in branch stable-2.7:

To configure unicore32 target:

 ./configure     --target-list=unicore32-softmmu                         \
                 --enable-debug                                          \
                 --disable-sdl                                           \
                 --enable-curses                                         \
                 --extra-cflags="-D restrict=restricT"                   \

To run a simple busybox image on qemu-defconfig kernel:
./qemu-system-unicore32 -curses -M puv3 -m 512 -icount 0 -kernel somedir/zImage

Please check github for more details: https://github.com/gxt/UniCore32

Thanks,
Guan Xuetao
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

A message that is not in the archive (sent off-list or not yet received): CAAdtpL6VCiXLbTWyJo4cbCNLjOCPr6KrH8KTqEq1V=CTMYKubQ@mail.gmail.com

#11 lore raw
Quoted 2 lines · Philippe Mathieu-Daudé

'
On Tue, Mar 12, 2019 at 6:44 PM Markus Armbruster <[email protected]> wrote:

[...]

Quoted 5 lines
Quoted 4 lines

= hw/arm/nseries.c =
Andrzej Zaborowski <[email protected]> (odd fixer:nSeries) Peter Maydell <[email protected]> (odd fixer:nSeries) [email protected] (open list:nSeries)

Quoted 7 lines

images:
http://stskeeps.subnetmask.net/meego-n8x0/

$ qemu-system-arm -M n810 -kernel
meego-arm-n8x0-1.0.80.20100712.1431-vmlinuz-2.6.35~rc4-129.1-n8x0
-append "root=/dev/mmcblk0p1 console=ttyS0 printk.time=0 rootwait" -m
130 -sd meego-arm-n8x0-1.0.80.20100712.1431-sda.raw -serial stdio

That does not work for me - I only get a white screen that turns to black after half a second, and no output (also not on the serial console). Does it still work for you with the latest QEMU master branch?

Thomas

#12 lore raw
Quoted 12 lines · Thomas Huth
Quoted 2 lines · Philippe Mathieu-Daudé

'
On Tue, Mar 12, 2019 at 6:44 PM Markus Armbruster <[email protected]> wrote:

[...]

Quoted 8 lines
Quoted 4 lines

= hw/arm/nseries.c =
Andrzej Zaborowski <[email protected]> (odd fixer:nSeries) Peter Maydell <[email protected]> (odd fixer:nSeries) [email protected] (open list:nSeries)

images:
http://stskeeps.subnetmask.net/meego-n8x0/

Quoted 8 lines
Quoted 4 lines
$ qemu-system-arm -M n810 -kernel
meego-arm-n8x0-1.0.80.20100712.1431-vmlinuz-2.6.35~rc4-129.1-n8x0
-append "root=/dev/mmcblk0p1 console=ttyS0 printk.time=0 rootwait" -m
130 -sd meego-arm-n8x0-1.0.80.20100712.1431-sda.raw -serial stdio

That does not work for me - I only get a white screen that turns to black after half a second, and no output (also not on the serial console). Does it still work for you with the latest QEMU master branch?

It is broken since a long time. I guess rememember some irc chat about it previous to v2.9.0, then I added this line to my TODO "this command used to work, see what's wrong here". I never bisected to figure out since when it got bitroted.

#13 lore raw
Quoted 18 lines · Philippe Mathieu-Daudé
Quoted 17 lines · Thomas Huth
Quoted 2 lines · Philippe Mathieu-Daudé

'
On Tue, Mar 12, 2019 at 6:44 PM Markus Armbruster <[email protected]> wrote:

[...]

Quoted 12 lines
Quoted 4 lines

= hw/arm/nseries.c =
Andrzej Zaborowski <[email protected]> (odd fixer:nSeries) Peter Maydell <[email protected]> (odd fixer:nSeries) [email protected] (open list:nSeries)

images:
http://stskeeps.subnetmask.net/meego-n8x0/

$ qemu-system-arm -M n810 -kernel
meego-arm-n8x0-1.0.80.20100712.1431-vmlinuz-2.6.35~rc4-129.1-n8x0
-append "root=/dev/mmcblk0p1 console=ttyS0 printk.time=0 rootwait" -m
130 -sd meego-arm-n8x0-1.0.80.20100712.1431-sda.raw -serial stdio
Quoted 8 lines
Quoted 3 lines

That does not work for me - I only get a white screen that turns to black after half a second, and no output (also not on the serial console). Does it still work for you with the latest QEMU master branch?

It is broken since a long time. I guess rememember some irc chat about it previous to v2.9.0, then I added this line to my TODO "this command used to work, see what's wrong here". I never bisected to figure out since when it got bitroted.

Ok, thanks, good to know. I was just thinking about deprecating this machine, since it uses the already deprecated bluetooth subsystem, and we likely can not remove bluetooth without removing this machine, too. So if it is already broken, that's another reason for really deprecating this machine now.

Thomas

#14 lore raw
Quoted 28 lines · Thomas Huth
Quoted 18 lines · Philippe Mathieu-Daudé
Quoted 17 lines · Thomas Huth
Quoted 2 lines · Philippe Mathieu-Daudé

'
On Tue, Mar 12, 2019 at 6:44 PM Markus Armbruster <[email protected]> wrote:

[...]

Quoted 12 lines
Quoted 4 lines

= hw/arm/nseries.c =
Andrzej Zaborowski <[email protected]> (odd fixer:nSeries) Peter Maydell <[email protected]> (odd fixer:nSeries) [email protected] (open list:nSeries)

images:
http://stskeeps.subnetmask.net/meego-n8x0/

$ qemu-system-arm -M n810 -kernel
meego-arm-n8x0-1.0.80.20100712.1431-vmlinuz-2.6.35~rc4-129.1-n8x0
-append "root=/dev/mmcblk0p1 console=ttyS0 printk.time=0 rootwait" -m
130 -sd meego-arm-n8x0-1.0.80.20100712.1431-sda.raw -serial stdio
Quoted 8 lines
Quoted 3 lines

That does not work for me - I only get a white screen that turns to black after half a second, and no output (also not on the serial console). Does it still work for you with the latest QEMU master branch?

It is broken since a long time. I guess rememember some irc chat about it previous to v2.9.0, then I added this line to my TODO "this command used to work, see what's wrong here". I never bisected to figure out since when it got bitroted.

Quoted 5 lines

Ok, thanks, good to know. I was just thinking about deprecating this machine, since it uses the already deprecated bluetooth subsystem, and we likely can not remove bluetooth without removing this machine, too. So if it is already broken, that's another reason for really deprecating this machine now.

Ah, well, the kernel still boots if I remove the "console=ttyS0" from the argument list... so it is not completely broken yet.

Thomas

#15 lore raw
In reply to a message not in the archive

Hi,

Quoted 22 lines · Philippe Mathieu-Daudé

'

Quoted 19 lines · Markus Armbruster

Dear board code maintainers,

This is a (rather late) follow-up to the last QEMU summit. Minutes[*]:

* Deprecating unmaintained features (devices, targets, backends) in QEMU

QEMU has a mechanism to deprecate features but there remains a lot of old unmaintained code. Refactoring is hindered by untested legacy code, so there is a desire to deprecate unmaintained features more often.

[...]

We should require at least a minimal test for each board; if nobody cares enough to come up with one, that board should be deprecated.

   [...]
         [...]
Quoted 6 lines
Quoted 5 lines

= hw/arm/msf2-som.c =
Subbaraya Sundeep <[email protected]> (maintainer:Emcraft M2S-FG484) Peter Maydell <[email protected]> (maintainer:Emcraft M2S-FG484) [email protected] (open list:ARM)

Quoted 9 lines

./arm-softmmu/qemu-system-arm -M emcraft-sf2 -serial mon:stdio \
-kernel u-boot.bin -display none -drive file=spi.bin,if=mtd,format=raw

Binaries u-boot.bin and spi.bin are at:
https://github.com/Subbaraya-Sundeep/qemu-test-binaries.git
Sources:
https://github.com/Subbaraya-Sundeep/emcraft-uboot-sf2.git
https://github.com/Subbaraya-Sundeep/linux.git

These should work as is since nothing changed.
Thanks Philippe.

Sundeep

Quoted 457 lines
Quoted 14 lines

= hw/arm/musca.c =
Peter Maydell <[email protected]> (maintainer:Musca) [email protected] (open list:Musca)

= hw/arm/netduino2.c =
Alistair Francis <[email protected]> (maintainer:Netduino 2) Peter Maydell <[email protected]> (maintainer:Netduino 2) [email protected] (open list:ARM)

= hw/arm/omap_sx1.c =
Peter Maydell <[email protected]> (maintainer:OMAP) [email protected] (open list:ARM)

Quoted 7 lines

= hw/arm/realview.c =
Peter Maydell <[email protected]> (maintainer:Real View) [email protected] (open list:Real View)

= hw/arm/stellaris.c =
Peter Maydell <[email protected]> (maintainer:Stellaris) [email protected] (open list:Stellaris)

https://docs.zephyrproject.org/1.13.0/boards/arm/qemu_cortex_m3/doc/board.html

Quoted 3 lines

= hw/arm/versatilepb.c =
Peter Maydell <[email protected]> (maintainer:Versatile PB) [email protected] (open list:Versatile PB)

https://people.debian.org/~aurel32/qemu/armel/

Quoted 3 lines

= hw/arm/vexpress.c =
Peter Maydell <[email protected]> (maintainer:Versatile Express) [email protected] (open list:Versatile Express)

https://people.debian.org/~aurel32/qemu/armhf/

Quoted 61 lines

= hw/arm/virt.c =
Peter Maydell <[email protected]> (maintainer:Virt) [email protected] (open list:Virt)

= hw/arm/xilinx_zynq.c =
"Edgar E. Iglesias" <[email protected]> (maintainer:Xilinx Zynq) Alistair Francis <[email protected]> (maintainer:Xilinx Zynq) Peter Maydell <[email protected]> (maintainer:Xilinx Zynq) [email protected] (open list:Xilinx Zynq)

= hw/arm/xlnx-versal-virt.c =
Alistair Francis <[email protected]> (maintainer:Xilinx ZynqMP) "Edgar E. Iglesias" <[email protected]> (maintainer:Xilinx ZynqMP) Peter Maydell <[email protected]> (maintainer:Xilinx ZynqMP) [email protected] (open list:Xilinx ZynqMP)

= hw/arm/xlnx-zcu102.c =
Alistair Francis <[email protected]> (maintainer:Xilinx ZynqMP) "Edgar E. Iglesias" <[email protected]> (maintainer:Xilinx ZynqMP) Peter Maydell <[email protected]> (maintainer:Xilinx ZynqMP) [email protected] (open list:Xilinx ZynqMP)

= hw/cris/axis_dev88.c =
"Edgar E. Iglesias" <[email protected]> (maintainer:Axis Dev88)

= hw/hppa/machine.c =
Richard Henderson <[email protected]> (maintainer:HPPA (PA-RISC)) Helge Deller <[email protected]> (reviewer:Dino)

= hw/i386/pc_piix.c =
Paolo Bonzini <[email protected]> (maintainer:X86) Richard Henderson <[email protected]> (maintainer:X86) Eduardo Habkost <[email protected]> (maintainer:X86) "Michael S. Tsirkin" <[email protected]> (supporter:PC) Marcel Apfelbaum <[email protected]> (supporter:PC)

= hw/i386/pc_q35.c =
"Michael S. Tsirkin" <[email protected]> (supporter:PC) Marcel Apfelbaum <[email protected]> (supporter:PC) Paolo Bonzini <[email protected]> (maintainer:X86) Richard Henderson <[email protected]> (maintainer:X86) Eduardo Habkost <[email protected]> (maintainer:X86)

= hw/lm32/lm32_boards.c =
Michael Walle <[email protected]> (maintainer:LM32)

= hw/lm32/milkymist.c =
Michael Walle <[email protected]> (maintainer:milkymist)

= hw/microblaze/petalogix_ml605_mmu.c =
"Edgar E. Iglesias" <[email protected]> (maintainer:petalogix_ml605)

= hw/microblaze/petalogix_s3adsp1800_mmu.c =
"Edgar E. Iglesias" <[email protected]> (maintainer:petalogix_s3adsp1800)

= hw/microblaze/xlnx-zynqmp-pmu.c =
Alistair Francis <[email protected]> (maintainer:Xilinx ZynqMP) "Edgar E. Iglesias" <[email protected]> (maintainer:Xilinx ZynqMP) Peter Maydell <[email protected]> (maintainer:Xilinx ZynqMP) [email protected] (open list:Xilinx ZynqMP)

Quoted 5 lines

= hw/mips/boston.c =
Paul Burton <[email protected]> (maintainer:Boston) Aleksandar Rikalo <[email protected]> (reviewer:Boston) Aurelien Jarno <[email protected]> (maintainer:MIPS) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

See:
https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg03419.html

linux-v4.17$ make ARCH=mips CROSS_COMPILE=mipsel-linux-gnu- 64r2el_defconfig qemu-system-mips64el -M boston -kernel arch/mips/boot/vmlinux.gz.itb -serial stdio

Quoted 4 lines

= hw/mips/mips_fulong2e.c =
Aleksandar Markovic <[email protected]> (odd fixer:Fulong 2E) Aleksandar Rikalo <[email protected]> (reviewer:Fulong 2E) Aurelien Jarno <[email protected]> (maintainer:MIPS)

Linux fuloong2e_defconfig

qemu-system-mips64el -machine fulong2e -kernel vmlinux -append 'console=ttyS0' -nographic -m 1G -serial stdio

prebuilt images: http://acksyn.org/posts/2015/06/running-fedora-mips/

Quoted 10 lines

= hw/mips/mips_jazz.c =
"Hervé Poussineau" <[email protected]> (maintainer:Jazz) Aleksandar Rikalo <[email protected]> (reviewer:Jazz) Aurelien Jarno <[email protected]> (maintainer:MIPS) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/mips/mips_malta.c =
Aurelien Jarno <[email protected]> (maintainer:Malta) Aleksandar Rikalo <[email protected]> (reviewer:Malta) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

https://people.debian.org/~aurel32/qemu/mips/ =)

Quoted 4 lines

= hw/mips/mips_mipssim.c =
Aleksandar Markovic <[email protected]> (odd fixer:Mipssim) Aleksandar Rikalo <[email protected]> (reviewer:Mipssim) Aurelien Jarno <[email protected]> (maintainer:MIPS)

See this thread:
http://lists.nongnu.org/archive/html/qemu-devel/2018-04/msg04071.html

Quoted 16 lines

= hw/mips/mips_r4k.c =
Aurelien Jarno <[email protected]> (maintainer:R4000) Aleksandar Rikalo <[email protected]> (reviewer:R4000) Aleksandar Markovic <[email protected]> (maintainer:MIPS)

= hw/moxie/moxiesim.c =
Anthony Green <[email protected]> (maintainer:Moxie)

= hw/nios2/10m50_devboard.c =
Chris Wulff <[email protected]> (maintainer:NiosII) Marek Vasut <[email protected]> (maintainer:NiosII)

= hw/openrisc/openrisc_sim.c =
Jia Liu <[email protected]> (maintainer:or1k-sim) Stafford Horne <[email protected]> (odd fixer:OpenRISC)

Quoted 8 lines

= hw/ppc/pnv.c =
David Gibson <[email protected]> (maintainer:PowerPC) [email protected] (open list:PowerPC)

= hw/ppc/prep.c =
"Hervé Poussineau" <[email protected]> (maintainer:PReP) David Gibson <[email protected]> (maintainer:PowerPC) [email protected] (open list:PReP)

https://cdimage.debian.org/cdimage/archive/8.10.0/powerpc/iso-cd/

qemu-system-ppc -M prep -cdrom debian-LennyBeta2-powerpc-netinst.iso -nographic

Quoted 4 lines

= hw/ppc/sam460ex.c =
BALATON Zoltan <[email protected]> (maintainer:sam460ex) David Gibson <[email protected]> (maintainer:PowerPC) [email protected] (open list:sam460ex)

images:
http://aros.sourceforge.net/nightly1.php

Quoted 13 lines

= hw/ppc/virtex_ml507.c =
"Edgar E. Iglesias" <[email protected]> (odd fixer:virtex_ml507) David Gibson <[email protected]> (maintainer:PowerPC) [email protected] (open list:virtex_ml507)

= hw/s390x/s390-virtio-ccw.c =
Cornelia Huck <[email protected]> (supporter:S390 Virtio-ccw) Halil Pasic <[email protected]> (supporter:S390 Virtio-ccw) Christian Borntraeger <[email protected]> (supporter:S390 Virtio-ccw) Richard Henderson <[email protected]> (maintainer:S390)
David Hildenbrand <[email protected]> (maintainer:S390) [email protected] (open list:S390 Virtio-ccw)

Quoted 3 lines

= hw/sh4/r2d.c =
Magnus Damm <[email protected]> (maintainer:R2D) Aurelien Jarno <[email protected]> (odd fixer:SH4)

https://people.debian.org/~aurel32/qemu/sh4/
see also "acceptance: Add test_sh4_r2d in BootLinuxConsole":
https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02748.html

Quoted 4 lines

= hw/sparc/leon3.c =
Fabien Chouteau <[email protected]> (maintainer:Leon3) Mark Cave-Ayland <[email protected]> (maintainer:SPARC) Artyom Tarasenko <[email protected]> (maintainer:SPARC)

built uboot + uImage
http://www.gaisler.com/anonftp/u-boot/examples/grxc3s1500/

how to build more recent:
https://vlsiwiki.soe.ucsc.edu/index.php/MASC/uCLinux_On_LEON3

Quoted 3 lines

= hw/sparc/sun4m.c =
Mark Cave-Ayland <[email protected]> (maintainer:Sun4m) Artyom Tarasenko <[email protected]> (maintainer:SPARC)

https://people.debian.org/~aurel32/qemu/sparc/

Quoted 12 lines

= hw/sparc64/niagara.c =
Artyom Tarasenko <[email protected]> (maintainer:Sun4v) Mark Cave-Ayland <[email protected]> (maintainer:SPARC)

= hw/sparc64/sun4u.c =
Mark Cave-Ayland <[email protected]> (maintainer:Sun4u) Artyom Tarasenko <[email protected]> (maintainer:SPARC)

= hw/tricore/tricore_testboard.c =
Bastian Koppelmann <[email protected]> (maintainer:TriCore)

Quoted 8 lines

= hw/unicore32/puv3.c =
Guan Xuetao <[email protected]> (maintainer:UniCore32)

= hw/xtensa/sim.c =
Max Filippov <[email protected]> (maintainer:sim)

= hw/xtensa/xtfpga.c =
Max Filippov <[email protected]> (maintainer:XTFPGA (LX60, LX2...)

build Zephyr from source:
http://docs.zephyrproject.org/boards/xtensa/qemu_xtensa/doc/board.html

qemu-system-xtensa -M dc232b -m 128M -semihosting -nographic -monitor null -kernel Image.elf

Quoted 43 lines

Machines with no maintainer, but at least one supporter:

= hw/ppc/spapr.c =
David Gibson <[email protected]> (supporter:sPAPR) [email protected] (open list:sPAPR)

= hw/riscv/sifive_e.c =
Palmer Dabbelt <[email protected]> (supporter:RISC-V) Alistair Francis <[email protected]> (supporter:RISC-V) Sagar Karandikar <[email protected]> (supporter:RISC-V) Bastian Koppelmann <[email protected]> (supporter:RISC-V) [email protected] (open list:RISC-V)

= hw/riscv/sifive_u.c =
Palmer Dabbelt <[email protected]> (supporter:RISC-V) Alistair Francis <[email protected]> (supporter:RISC-V) Sagar Karandikar <[email protected]> (supporter:RISC-V) Bastian Koppelmann <[email protected]> (supporter:RISC-V) [email protected] (open list:RISC-V)

= hw/riscv/spike.c =
Palmer Dabbelt <[email protected]> (supporter:RISC-V) Alistair Francis <[email protected]> (supporter:RISC-V) Sagar Karandikar <[email protected]> (supporter:RISC-V) Bastian Koppelmann <[email protected]> (supporter:RISC-V) [email protected] (open list:RISC-V)

= hw/riscv/virt.c =
Palmer Dabbelt <[email protected]> (supporter:RISC-V) Alistair Francis <[email protected]> (supporter:RISC-V) Sagar Karandikar <[email protected]> (supporter:RISC-V) Bastian Koppelmann <[email protected]> (supporter:RISC-V) [email protected] (open list:RISC-V)

= hw/xenpv/xen_machine_pv.c =
Stefano Stabellini <[email protected]> (supporter:X86) Anthony Perard <[email protected]> (supporter:X86) Paul Durrant <[email protected]> (supporter:X86) [email protected] (open list:X86)

Machines with no maintainer and no supporter:

Quoted 8 lines

= hw/arm/collie.c =
Peter Maydell <[email protected]> (odd fixer:Sharp SL-5500 (Co...) [email protected] (open list:Sharp SL-5500 (Co...)

= hw/arm/cubieboard.c =
Beniamino Galvani <[email protected]> (odd fixer:Allwinner-a10) Peter Maydell <[email protected]> (odd fixer:Allwinner-a10) [email protected] (open list:Allwinner-a10)

https://romanrm.net/a10/qemu
https://kashyapc.fedorapeople.org/arm/installing-Fedora-21-on-microSD-card-for-Cubietruck.txt

Quoted 4 lines

= hw/arm/digic_boards.c =
Antony Pavlov <[email protected]> (odd fixer:Canon DIGIC) Peter Maydell <[email protected]> (odd fixer:Canon DIGIC) [email protected] (open list:Canon DIGIC)

canon-a1100-rom1.bin
https://www.mail-archive.com/[email protected]/msg571908.html

Quoted 9 lines

= hw/arm/exynos4_boards.c =
Igor Mitsyanko <[email protected]> (odd fixer:Exynos) Peter Maydell <[email protected]> (odd fixer:Exynos) [email protected] (open list:Exynos)

= hw/arm/gumstix.c =
Peter Maydell <[email protected]> (odd fixer:Gumstix) "Philippe Mathieu-Daudé" <[email protected]> (reviewer:Gumstix) [email protected] (open list:Gumstix)

dd of=cflash.img bs=128k count=128 if=/dev/zerodd of=cflash.img
bs=128k conv=notrunc if=/Downloads/u-boot-verdex-400-r1604.bin
dd of=cflash.img bs=128k conv=notrunc seek=2 if=Downloads/Angstrom-gumstix-basic-image-glibc-ipk-2007.9-test-20080512-gumstix-custom-connex.rootfs.jffs2 dd of=cflash.img bs=128k conv=notrunc seek=120 if=Downloads/uImage-2.6.21-r1-gumstix-custom-connex.bin
qemu-system-arm -M connex -nographic -drive
if=sd,cache=unsafe,file=cflash.img -pflash cflash.img

Quoted 5 lines

= hw/arm/highbank.c =
Rob Herring <[email protected]> (odd fixer:Calxeda Highbank) Peter Maydell <[email protected]> (odd fixer:Calxeda Highbank) [email protected] (open list:Calxeda Highbank)

vmlinuz from those links
https://wiki.edubuntu.org/ARM/Server/Install/Calxeda
https://en.opensuse.org/HCL:Highbank
https://wiki.linaro.org/LEG/Engineering/Virtualization/Platform_Device_Passthrough_on_Midway

Quoted 31 lines

= hw/arm/imx25_pdk.c =
Peter Maydell <[email protected]> (odd fixer:i.MX25 PDK) Jean-Christophe Dubois <[email protected]> (reviewer:i.MX25 PDK) [email protected] (open list:i.MX25 PDK)

= hw/arm/kzm.c =
Peter Chubb <[email protected]> (odd fixer:i.MX31 (kzm)) Peter Maydell <[email protected]> (odd fixer:i.MX31 (kzm)) [email protected] (open list:i.MX31 (kzm))

= hw/arm/mainstone.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/mcimx6ul-evk.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX6UL EVK / i....) Jean-Christophe Dubois <[email protected]> (reviewer:MCIMX6UL EVK / i....) [email protected] (open list:MCIMX6UL EVK / i....)

= hw/arm/mcimx7d-sabre.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX7D SABRE / i...) Andrey Smirnov <[email protected]> (reviewer:MCIMX7D SABRE / i...) [email protected] (open list:MCIMX7D SABRE / i...)

= hw/arm/musicpal.c =
Jan Kiszka <[email protected]> (odd fixer:Musicpal) Peter Maydell <[email protected]> (odd fixer:Musicpal) [email protected] (open list:Musicpal)

Quoted 4 lines

= hw/arm/nseries.c =
Andrzej Zaborowski <[email protected]> (odd fixer:nSeries) Peter Maydell <[email protected]> (odd fixer:nSeries) [email protected] (open list:nSeries)

images:
http://stskeeps.subnetmask.net/meego-n8x0/

$ qemu-system-arm -M n810 -kernel
meego-arm-n8x0-1.0.80.20100712.1431-vmlinuz-2.6.35~rc4-129.1-n8x0
-append "root=/dev/mmcblk0p1 console=ttyS0 printk.time=0 rootwait" -m
130 -sd meego-arm-n8x0-1.0.80.20100712.1431-sda.raw -serial stdio
Quoted 10 lines

= hw/arm/palm.c =
Andrzej Zaborowski <[email protected]> (odd fixer:Palm) Peter Maydell <[email protected]> (odd fixer:Palm) [email protected] (open list:Palm)

= hw/arm/raspi.c =
Peter Maydell <[email protected]> (odd fixer:Raspberry Pi) Andrew Baumann <[email protected]> (reviewer:Raspberry Pi) "Philippe Mathieu-Daudé" <[email protected]> (reviewer:Raspberry Pi) [email protected] (open list:Raspberry Pi)

Quick Boot Linux uart test:
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg04308.html

Quoted 61 lines

= hw/arm/sabrelite.c =
Peter Maydell <[email protected]> (odd fixer:SABRELITE / i.MX6) Jean-Christophe Dubois <[email protected]> (reviewer:SABRELITE / i.MX6) [email protected] (open list:SABRELITE / i.MX6)

= hw/arm/spitz.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/tosa.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/arm/z2.c =
Andrzej Zaborowski <[email protected]> (odd fixer:PXA2XX) Peter Maydell <[email protected]> (odd fixer:PXA2XX) [email protected] (open list:PXA2XX)

= hw/m68k/an5206.c =
Thomas Huth <[email protected]> (odd fixer:an5206)

= hw/m68k/mcf5208.c =
Thomas Huth <[email protected]> (odd fixer:mcf5208)

= hw/ppc/e500plat.c =
David Gibson <[email protected]> (odd fixer:e500) [email protected] (open list:e500)

= hw/ppc/mac_newworld.c =
Mark Cave-Ayland <[email protected]> (odd fixer:New World (mac99)) David Gibson <[email protected]> (reviewer:New World (mac99)) [email protected] (open list:New World (mac99))

= hw/ppc/mac_oldworld.c =
Mark Cave-Ayland <[email protected]> (odd fixer:Old World (g3beige)) David Gibson <[email protected]> (reviewer:Old World (g3beige)) [email protected] (open list:Old World (g3beige))

= hw/ppc/mpc8544ds.c =
David Gibson <[email protected]> (odd fixer:mpc8544ds) [email protected] (open list:mpc8544ds)

= hw/ppc/ppc405_boards.c =
David Gibson <[email protected]> (odd fixer:ppc4xx) [email protected] (open list:ppc4xx)

= hw/ppc/ppc440_bamboo.c =
David Gibson <[email protected]> (odd fixer:ppc4xx) [email protected] (open list:ppc4xx)

= hw/sh4/shix.c =
Magnus Damm <[email protected]> (odd fixer:Shix) Aurelien Jarno <[email protected]> (odd fixer:SH4)

[*] Subject: QEMU Summit 2018 minutes
Message-ID: <CAFEAcA8WWmwjY+derXd-yM==QmPtP7C3TN3pC0TCTPwVFdhZNA@mail.gmail.com>
https://lists.nongnu.org/archive/html/qemu-devel/2018-11/msg03367.html

#16 lore raw
In reply to a message not in the archive
Quoted 64 lines · Markus Armbruster

Dear board code maintainers,

This is a (rather late) follow-up to the last QEMU summit. Minutes[*]:

* Deprecating unmaintained features (devices, targets, backends) in QEMU

QEMU has a mechanism to deprecate features but there remains a lot of old unmaintained code. Refactoring is hindered by untested legacy code, so there is a desire to deprecate unmaintained features more often.

[...]

We should require at least a minimal test for each board; if nobody cares enough to come up with one, that board should be deprecated.

   [...]

   Also see the qemu-devel discussion about deprecating code:
   https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg05828.html.

That's a link to "Minutes of KVM Forum BoF on deprecating stuff". Quote:

* One obvious class of candidates for removal is machines we don't know how to boot, or can't boot, say because we lack required firmware and/or OS.

Of course, "can boot" should be an automated test. As a first step towards that, we should at least document how to boot each machine. We're going to ask machine maintainers to do that.

Let's get going on this.

I gathered the machine types, mapped them to source files, which I fed to get_maintainer.pl. Results are appended. If you're cc'ed, MAINTAINERS fingers you for at least one machine type's source file. Please tell us for all of them how to to a "meaningful" boot test.

For now, what's "meaningful" is entirely up to you. Booting Linux certainly is.

Make sure to include a complete QEMU command line. If your QEMU command line requires resources beyond the QEMU source tree and what we build from it, please detail them, and provide download URLs as far as possible.

Goals for this exercise:

* Gather information we need to cover more machines in our automated testing.

Related work:
[PATCH v4 00/19] Acceptance Tests: target architecture support
Message-Id: <[email protected]>
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg03881.html

* Maybe identify a few machines we don't know how to boot anymore.

Thanks in advance for your help!

Quoted 8 lines

Machines with at least one maintainer:

= hw/arm/mcimx7d-sabre.c =
Peter Maydell <[email protected]> (odd fixer:MCIMX7D SABRE / i...) Andrey Smirnov <[email protected]> (reviewer:MCIMX7D SABRE / i...) [email protected] (open list:MCIMX7D SABRE / i...)

Sorry I am late to this party. I haven't used i.MX7 emulation in a while and things didn't go smoothly out of the box, so I had to create a number of fixes (submitted to the ML).

I use Linux kernel built using Buildroot for validation. Buildroot should have a default i.MX7 Sabred SD configuration and that should probably work. I usually change mine slightly to use compiled-in rootfs to simplify storage setup.

In case this is helpful here's a number of commands I use to start my test cases:

* PCIe (e1000 ethernet attached), USB (usb stick attached), SD:
arm-softmmu/qemu-system-arm -smp 2 -m 1024 -machine mcimx7d-sabre -nographic -serial mon:stdio -kernel <path to zImage> -dtb <path to DTB> -device e1000e,bus="dw-pcie",netdev=lan0 -netdev tap,id=lan0,ifname=tap0,script=no,downscript=no -append "console=ttymxc0,115200 noinitrd" -usb -drive if=none,id=stick,file=<patch to USB stick image>,format=raw -device usb-storage,bus=usb-bus.0,drive=stick -drive id=sd1,if=sd,format=file,file=<path to SD1> -drive id=sd2,if=sd,format=file,file=<path to SD2> -driv eid=sd3,if=sd,format=file,file=<path to SD3>

* EHCI USB attached via PCIe with legacy interrupts, Ethernet connected to built-in controller:
arm-softmmu/qemu-system-arm -smp 2 -m 1024 -machine mcimx7d-sabre -nographic -serial mon:stdio -kernel <path to zImage> -dtb <path to DTB> -device usb-ehci,id=ehci,bus="dw-pcie" -net nic,model=imx.fec,netdev=lan0 -netdev tap,id=lan0,ifname=tap0,script=no,downscript=no -append "console=ttymxc0,115200 noinitrd pci=nomsi" -usb -drive if=none,id=stick,file=<path to USB stick image>,format=raw

Also, I don't think anyone would try to do this, but just as a warning, building QEMU with --enable-tcg-interpreter doesn't really work that well (/init gets SIGKILLed every time), so I'd recommend avoiding using that option.

Hopefully this is enough info, but if not, feel free to ask me more questions.

Thanks,
Andrey Smirnov

#17 lore raw
In reply to a message not in the archive

Le 3/12/19 à 6:36 PM, Markus Armbruster a écrit :

Quoted 1 line

Dear board code maintainers,

Hi Markus,

Quoted 3 lines

This is a (rather late) follow-up to the last QEMU summit. Minutes[*]:

[...]

Quoted 5 lines

= hw/sparc/leon3.c =
Fabien Chouteau <[email protected]> (maintainer:Leon3) Mark Cave-Ayland <[email protected]> (maintainer:SPARC) Artyom Tarasenko <[email protected]> (maintainer:SPARC)

We are still using with this board. I'll try to create a working linux image for it and get back to you.

Cheers,
Fred

#18 lore raw
In reply to a message not in the archive

Hi Markus,

Quoted 52 lines · Markus Armbruster

Dear board code maintainers,

This is a (rather late) follow-up to the last QEMU summit. Minutes[*]:

* Deprecating unmaintained features (devices, targets, backends) in QEMU

QEMU has a mechanism to deprecate features but there remains a lot of old unmaintained code. Refactoring is hindered by untested legacy code, so there is a desire to deprecate unmaintained features more often.

[...]

We should require at least a minimal test for each board; if nobody cares enough to come up with one, that board should be deprecated.

   [...]

   Also see the qemu-devel discussion about deprecating code:
   https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg05828.html.

That's a link to "Minutes of KVM Forum BoF on deprecating stuff". Quote:

* One obvious class of candidates for removal is machines we don't know how to boot, or can't boot, say because we lack required firmware and/or OS.

Of course, "can boot" should be an automated test. As a first step towards that, we should at least document how to boot each machine. We're going to ask machine maintainers to do that.

Let's get going on this.

I gathered the machine types, mapped them to source files, which I fed to get_maintainer.pl. Results are appended. If you're cc'ed, MAINTAINERS fingers you for at least one machine type's source file. Please tell us for all of them how to to a "meaningful" boot test.

For now, what's "meaningful" is entirely up to you. Booting Linux certainly is.

Make sure to include a complete QEMU command line. If your QEMU command line requires resources beyond the QEMU source tree and what we build from it, please detail them, and provide download URLs as far as possible.

Goals for this exercise:

* Gather information we need to cover more machines in our automated testing.

Quoted 8 lines

Related work:
[PATCH v4 00/19] Acceptance Tests: target architecture support
Message-Id: <[email protected]>
https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg03881.html

* Maybe identify a few machines we don't know how to boot anymore.

Thanks in advance for your help!

How do you want to proceed with all the information provided in this thread? I think a big table in the wiki collecting the answers is ideal. What do you think?

Regards,

Phil.

#19 lore raw
Quoted 3 lines · Philippe Mathieu-Daudé

How do you want to proceed with all the information provided in this thread? I think a big table in the wiki collecting the answers is ideal. What do you think?

Yes, please! I haven't been able to find the time...

#20 lore raw
Quoted 7 lines · Markus Armbruster
Quoted 3 lines · Philippe Mathieu-Daudé

How do you want to proceed with all the information provided in this thread? I think a big table in the wiki collecting the answers is ideal. What do you think?

Yes, please! I haven't been able to find the time...

I gathered all the information from this thread here:
https://wiki.qemu.org/Testing/Acceptance#Machines
(with a link in https://wiki.qemu.org/Testing#System_emulation).

I also added other info I collected during 4.2 merge window.

Should we suggest a new policy that new machines must have a test? I'll later purpose some idea to deal with machines only running non opensource code.

I think most of the data from the acceptance tests we have could be generated (json?) and we could concat with another manual maintained json (or yaml to json?) to have this table easily updatable on the wiki. Now I remember why I had forgotten about HTML, it is painful to edit.

Thanks all for sharing this information.

Regards,

Phil.

#21 lore raw
Quoted 7 lines · Philippe Mathieu-Daudé
Quoted 6 lines · Markus Armbruster
Quoted 3 lines · Philippe Mathieu-Daudé

How do you want to proceed with all the information provided in this thread? I think a big table in the wiki collecting the answers is ideal. What do you think?

Quoted 7 lines
Quoted 1 line

Yes, please! I haven't been able to find the time...

I gathered all the information from this thread here:
https://wiki.qemu.org/Testing/Acceptance#Machines
(with a link in https://wiki.qemu.org/Testing#System_emulation).

I also added other info I collected during 4.2 merge window.

Awesome.

What shall we do about the machine types that are not in this table? Random example: nios2 machine 10m50-ghrd.

Quoted 1 line

Should we suggest a new policy that new machines must have a test?

I think that's fair.

Quoted 2 lines

I'll later purpose some idea to deal with machines only running non opensource code.

Yes, please.

Quoted 4 lines

I think most of the data from the acceptance tests we have could be generated (json?) and we could concat with another manual maintained json (or yaml to json?) to have this table easily updatable on the wiki. Now I remember why I had forgotten about HTML, it is painful to edit.

Also, it's prone to rot.

Generating the green rows from actual tests should avoid rot. The other rows need to come from somewhere else, though.

Quoted 6 lines

Thanks all for sharing this information.

Regards,

Phil.