OSDN Git Service

tests: add (riscv virt) machine mapping to testenv
authorlaokz <laokz@foxmail.com>
Tue, 8 Mar 2022 04:33:39 +0000 (12:33 +0800)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 08:40:54 +0000 (09:40 +0100)
commit3213bbaf5797cc405e57f122e72c1fb55d0b08ab
treedfcc0bf7f1a47b691d51f26b07c89010f0bffbd2
parent330724977b10f5b92610817e8b7d1dfed122df87
tests: add (riscv virt) machine mapping to testenv

Some qemu-iotests(040 etc) use PCI disk to do test. Without the
mapping, RISC-V flavor use spike as default machine which has no
PCI bus, causing test failure.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/894

Signed-off-by: Kai Zhang <laokz@foxmail.com>
Message-Id: <tencent_E4219E870165A978DB5BBE50BD53D33D2E06@qq.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/testenv.py