[U-Boot] [PATCH 1/1] travis-ci: qemu-system-riscv64: Parameter 'id' is missing

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Jul 16 23:35:01 UTC 2019


When testing qemu-riscv64_defconfig on Travis CI I got a QEMU erorr
"Parameter 'id' is missing".

A command launching qemu-riscv64_defconfig successfully on Debian is:

qemu-system-riscv64 \
-machine virt \
-kernel u-boot \
-m 1G -nographic -netdev user,id=net0,tftp=$tftpdir \
-device virtio-net-device,netdev=net0

Add the missing id.

Fixes: 990b317fdcc4 ("travis-ci: add qemu-riscv64")
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 bin/travis-ci/conf.qemu-riscv64_na | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/travis-ci/conf.qemu-riscv64_na b/bin/travis-ci/conf.qemu-riscv64_na
index b375e2b..65b2096 100644
--- a/bin/travis-ci/conf.qemu-riscv64_na
+++ b/bin/travis-ci/conf.qemu-riscv64_na
@@ -5,7 +5,7 @@
 console_impl=qemu
 qemu_machine="virt"
 qemu_binary="qemu-system-riscv64"
-qemu_extra_args="-m 1G -nographic -netdev user,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-device,netdev=user"
+qemu_extra_args="-m 1G -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-device,netdev=net0"
 qemu_kernel_args="-kernel ${U_BOOT_BUILD_DIR}/u-boot"
 reset_impl=none
 flash_impl=none
--
2.20.1



More information about the U-Boot mailing list