OSDN Git Service

hw/ppc: Use MachineClass->default_nic in the ppc machines
authorThomas Huth <thuth@redhat.com>
Fri, 12 May 2023 12:40:20 +0000 (14:40 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:44:22 +0000 (09:44 +0200)
commit053b7086274487c31a136940c75a665211bc2b4a
tree8b14ae9f728a6abef32905d419bbdb6d3e195c45
parent26a0802d1ccbf3c3c659f3d2641cf7deef0e70ac
hw/ppc: Use MachineClass->default_nic in the ppc machines

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-6-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/ppc/e500.c
hw/ppc/e500plat.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/mpc8544ds.c
hw/ppc/ppc440_bamboo.c
hw/ppc/prep.c