hw/sparc64/sun4u: Use MachineClass->default_nic and MachineClass->no_parallel
commite8273b0c456a26aad046f48424861ecd26bd16c7
authorThomas Huth <thuth@redhat.com>
Thu, 11 May 2023 16:14:37 +0000 (11 18:14 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:44:48 +0000 (22 09:44 +0200)
tree033a18eb157fa0473a3a1a7703b4fc6758f682d9
parent545d8574bafbfe308908f10b4027010f6a12a441
hw/sparc64/sun4u: Use MachineClass->default_nic and MachineClass->no_parallel

Announce the default NIC via MachineClass->default_nic and set up
MachineClass->no_parallel according to the availability of the
"isa-parallel" device, so that the Sun machines also work when
QEMU has been configured with "--without-default-devices".

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