qemu/hw/m68k
David Woodhouse 3fb8ae838b 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>
2024-02-02 16:23:47 +00:00
..
an5206.c hw/m68k/mcf5206: Pass CPU using QOM link property 2023-11-01 07:20:34 +01:00
bootinfo.h hw/m68k: Clean up local variable shadowing 2023-09-29 10:07:15 +02:00
Kconfig audio: add Apple Sound Chip (ASC) emulation 2023-10-06 10:33:43 +02:00
mcf5206.c hw/m68k/mcf5206: Embed m5206_timer_state in m5206_mbar_state 2024-01-05 16:20:15 +01:00
mcf5208.c hw/m68k/mcf5208: use qemu_create_nic_device() 2024-02-02 16:23:47 +00:00
mcf_intc.c hw/m68k/mcf_intc: Pass CPU using QOM link property 2023-11-01 07:20:34 +01:00
meson.build q800: move GLUE device into separate q800-glue.c file 2023-06-22 09:21:57 +02:00
next-cube.c hw/m68k: Constify VMState 2023-12-30 07:38:05 +11:00
next-kbd.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
q800-glue.c hw/m68k: Constify VMState 2023-12-30 07:38:05 +11:00
q800.c hw/m68k/q800: use qemu_find_nic_info() 2024-02-02 16:23:47 +00:00
virt.c hw: Add compat machines for 9.0 2023-12-20 10:29:23 +01:00