summary refs log tree commit diff stats
path: root/hw/acpi/pcihp.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2022-02-23 17:44:35 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-03-06 05:08:23 -0500
commitad003b9e6872c67836133066e1dd0f13458a9370 (patch)
tree02407634cff57b5fd7f5b14a52abea1a4b5baf36 /hw/acpi/pcihp.c
parent45d8c0520bd1877d6a34f2c1abaa1df0a9ce9947 (diff)
downloadfocaccia-qemu-ad003b9e6872c67836133066e1dd0f13458a9370.tar.gz
focaccia-qemu-ad003b9e6872c67836133066e1dd0f13458a9370.zip
pci: show id info when pci BDF conflict
During qemu init stage, when there is pci BDF conflicts, qemu print
a warning but not showing which device the BDF is occupied by. E.x:

"PCI: slot 2 function 0 not available for virtio-scsi-pci, in use by virtio-scsi-pci"

To facilitate user knowing the offending device and fixing it, showing
the id info in the warning.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-Id: <20220223094435.64495-1-zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi/pcihp.c')
0 files changed, 0 insertions, 0 deletions