diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2023-10-23 09:37:45 +0100 |
|---|---|---|
| committer | David Woodhouse <dwmw@amazon.co.uk> | 2024-02-02 16:23:47 +0000 |
| commit | 3fb8ae838b649cb629af88bada030a84c95c2722 (patch) | |
| tree | bf6586f9cb70d05c1a00a2cecd44ca2653f7285b /docs/sphinx/hxtool.py | |
| parent | 6e32426f68e8d7c05a9f5b5546cb336f415cae89 (diff) | |
| download | focaccia-qemu-3fb8ae838b649cb629af88bada030a84c95c2722.tar.gz focaccia-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 'docs/sphinx/hxtool.py')
0 files changed, 0 insertions, 0 deletions