diff options
author | 2023-10-23 09:37:45 +0100 | |
---|---|---|
committer | 2024-02-02 16:23:47 +0000 | |
commit | 3fb8ae838b649cb629af88bada030a84c95c2722 (patch) | |
tree | bf6586f9cb70d05c1a00a2cecd44ca2653f7285b /scripts/qapi/source.py | |
parent | hw/m68k/mcf5208: use qemu_create_nic_device() (diff) | |
download | qemu-3fb8ae838b649cb629af88bada030a84c95c2722.tar.xz qemu-3fb8ae838b649cb629af88bada030a84c95c2722.zip |
hw/m68k/q800: use qemu_find_nic_info()
If a corresponding NIC configuration was found, it will have a MAC address
already assigned, so use that. Else, generate and assign a default one.
Using qemu_find_nic_info() is simpler than the alternative of using
qemu_configure_nic_device() and then having to fetch the "mac" property
as a string and convert it.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions