]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/net/lan9118: use qemu_configure_nic_device()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:37:36 +0000 (09:37 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Feb 2024 16:23:47 +0000 (16:23 +0000)
commitf138ed5e005db9d8ce1eb511bea7c9da4333da76
tree0d277c7b5f8b6e84d6ce1bfc14ae6aef68a39cd2
parentcd53991de40a90399a8b56f0ad7b9320442ea5bb
hw/net/lan9118: use qemu_configure_nic_device()

Some callers instantiate the device unconditionally, others will do so only
if there is a NICInfo to go with it. This appears to be fairly random, but
preseve the existing behaviour for now.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
hw/arm/kzm.c
hw/arm/mps2.c
hw/arm/realview.c
hw/arm/vexpress.c
hw/net/lan9118.c
include/hw/net/lan9118.h