Files
poky/meta/classes
Adrian Freihofer 2f6a47c4d4 runqemu: support multiple NICs
Emulating more than one network interface with runqemu is a bit tricky,
but possible. For example, the following leads to an emulated device with
eth0 and eth1:

QB_NETWORK_DEVICE_prepend = " \
    -device virtio-net-device,mac=52:54:00:12:34:03 \
"

or

QB_NETWORK_DEVICE_append = " \
    -device virtio-net-pci,mac=52:54:00:12:34:03 \
"

When booting Qemu with two NICs, the kernel does not know which
interface the specified ip=192.168.7.... command line argument
should be applied. This delays the boot process for a very long
time and a guest wihtout IP configuration.

This add two new configuraton parameters to runqemu:
QB_CMDLINE_IP_SLIRP and QB_CMDLINE_IP_TAP to explicitely specify the ip=
kernel command line arguments for tap and slirp mode.

Note: Simply adding "::eth0" broke some builds on the Yocto autobuilder.

(From OE-Core rev: 59bfdc331c1494c05ab38804b281878a1f571f6d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
..
2020-03-10 23:20:33 +00:00
2020-01-27 16:48:08 +00:00
2020-01-27 16:48:09 +00:00
2020-02-15 22:42:14 +00:00
2020-01-19 13:24:38 +00:00
2020-01-21 12:52:52 +00:00
2019-06-14 22:48:22 +01:00
2020-02-18 23:53:54 +00:00
2019-03-06 23:12:27 +00:00
2019-04-23 23:30:20 +01:00