s390x/pci: Check for multifunction after device realization
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 16 Jan 2025 09:00:56 +0000 (18:00 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 20 Feb 2025 23:23:19 +0000 (18:23 -0500)
commit2c968f465392316d09e44f4a9f7e378999e5c011
tree89c20f3d995464e0ac33e2594fa3af9121e3d96d
parentd966250e93c1194c0a4c775e08a8e23f2ef66cf8
s390x/pci: Check for multifunction after device realization

The SR-IOV PFs set the multifunction bit during device realization so
check them after that. There is no functional change because we
explicitly ignore the multifunction bit for SR-IOV devices.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20250116-reuse-v20-5-7cb370606368@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/s390x/s390-pci-bus.c