]> git.proxmox.com Git - mirror_qemu.git/commit
spapr/pci: Correct "does not support hotplugging error messages
authorMarkus Armbruster <armbru@redhat.com>
Tue, 31 Oct 2023 11:10:53 +0000 (12:10 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 17 Nov 2023 09:07:52 +0000 (10:07 +0100)
commitdb8227a68addb9db6392001c7e02d406282ea462
tree2d47e937613da45966a36fb6d3bc0a2111dc4cc6
parent34a5cb6d8434303c170230644b2a7c1d5781d197
spapr/pci: Correct "does not support hotplugging error messages

When dynamic-reconfiguration is off, hot plug / unplug can fail with
"Bus 'spapr-pci-host-bridge' does not support hotplugging".
spapr-pci-host-bridge is a device, not a bus.  Report the name of the
bus it provides instead: 'pci.0'.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20231031111059.3407803-2-armbru@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/spapr_pci.c