hw/sh4: Use MachineClass->default_nic in the sh4 r2d machine
commitcf2528a53613b85c91678d14bd5551245089081a
authorThomas Huth <thuth@redhat.com>
Thu, 11 May 2023 16:30:21 +0000 (11 18:30 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:44:48 +0000 (22 09:44 +0200)
tree59ce5615233b0d9d3b3c3dac60b06131f36e2a61
parenta32b158a838e21197fef05aebe5ba066e62f45f5
hw/sh4: Use MachineClass->default_nic in the sh4 r2d machine

Mark the default NIC via the new MachineClass->default_nic setting
so that the machine-defaults code in vl.c can decide whether the
default NIC is usable or not (for example when compiling with the
"--without-default-devices" configure switch).

Message-Id: <20230512124033.502654-8-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/sh4/r2d.c