hooks: travis-ci: qemu-riscv64_na: add a second network interface
U-Boot allows to have multiple network interfaces and switching between these. This functionality cannot be tested if QEMU only emulates a single NIC. Provide a QEMU configuration with multiple network interfaces. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Simon Glass
parent
8aba967257
commit
88aa63226b
@@ -5,7 +5,7 @@
|
||||
console_impl=qemu
|
||||
qemu_machine="virt"
|
||||
qemu_binary="qemu-system-riscv64"
|
||||
qemu_extra_args="-m 1G -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-device,netdev=net0 -device virtio-rng-device"
|
||||
qemu_extra_args="-m 1G -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-device,netdev=net0 -netdev user,id=net1,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device virtio-net-device,netdev=net1 -device virtio-rng-device"
|
||||
qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/u-boot"
|
||||
reset_impl=none
|
||||
flash_impl=none
|
||||
|
||||
Reference in New Issue
Block a user