This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ETH_QEMU_EXTRA_ARGS

Extra arguments to QEMU -nic option

Type: string

Help

Extra arguments passed to QEMU -nic option when Ethernet Networking
is enabled. Typically this is used to set the network MAC address of
Zephyr instance. This option can contain multiple QEMU option
arguments. Each QEMU argument must be separated by comma "," and no
spaces between arguments. Example: "mac=02:03:04:f0:0d:01" or
"mac=02:03:04:f0:0d:01,downscript=no"

Direct dependencies

NET_QEMU_ETHERNET && NET_L2_ETHERNET

(Includes any dependencies from ifs and menus.)

Default

  • “”

Kconfig definition

At drivers/ethernet/Kconfig:35

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20

Menu path: (Top) → Device Drivers → Ethernet Drivers

config ETH_QEMU_EXTRA_ARGS
    string "Extra arguments to QEMU -nic option"
    default ""
    depends on NET_QEMU_ETHERNET && NET_L2_ETHERNET
    help
      Extra arguments passed to QEMU -nic option when Ethernet Networking
      is enabled. Typically this is used to set the network MAC address of
      Zephyr instance. This option can contain multiple QEMU option
      arguments. Each QEMU argument must be separated by comma "," and no
      spaces between arguments. Example: "mac=02:03:04:f0:0d:01" or
      "mac=02:03:04:f0:0d:01,downscript=no"

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)