hw/s390x: Use MachineClass->default_nic in the s390x machine
authorThomas Huth <thuth@redhat.com>
Thu, 11 May 2023 12:50:36 +0000 (14:50 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:44:48 +0000 (09:44 +0200)
commita32b158a838e21197fef05aebe5ba066e62f45f5
tree55aaa0dff8f2fd0b40f54e711d0074327a8b153d
parent053b7086274487c31a136940c75a665211bc2b4a
hw/s390x: Use MachineClass->default_nic in the s390x 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-7-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-virtio-ccw.c