hw/arm/npcm7xx: use qemu_configure_nic_device, allow emc0/emc1 as aliases
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 23 Oct 2023 08:37:39 +0000 (09:37 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 2 Feb 2024 16:23:47 +0000 (16:23 +0000)
commit707a42e2db20e61c6bfb575e9b6c2b2fdd24a247
tree026ce29ff54f5bfebf9537ec9a87e971d77673cf
parent27c0235f72141e05bb4a815526bcdb777fa9f5bb
hw/arm/npcm7xx: use qemu_configure_nic_device, allow emc0/emc1 as aliases

Also update the test to specify which device to attach the test socket
to, and remove the comment lamenting the fact that we can't do so.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
hw/arm/npcm7xx.c
tests/qtest/npcm7xx_emc-test.c