summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2023-10-23 09:37:40 +0100
committerDavid Woodhouse <dwmw@amazon.co.uk>2024-02-02 16:23:47 +0000
commit13280845886c94fff7278e1d1fe0fa12e03700ad (patch)
treeeb0551f5d04458bc98b3edd4d76a12e85f3dc62d /scripts/qapi/expr.py
parent707a42e2db20e61c6bfb575e9b6c2b2fdd24a247 (diff)
downloadfocaccia-qemu-13280845886c94fff7278e1d1fe0fa12e03700ad.tar.gz
focaccia-qemu-13280845886c94fff7278e1d1fe0fa12e03700ad.zip
hw/arm/stellaris: use qemu_find_nic_info()
Rather than just using qemu_configure_nic_device(), populate the MAC
address in the system-registers device by peeking at the NICInfo before
it's assigned to the device.

Generate the MAC address early, if there is no matching -nic option.
Otherwise the MAC address wouldn't be generated until net_client_init1()
runs.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions