mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
Provide pcihp specific callback to check if bus is hotpluggable
and consolidate its scattered hotplug criteria there.
While at it clean up no longer needed
qbus_set_hotplug_handler(BUS(bus), NULL)
workarounds since callback makes qbus_is_hotpluggable() return
correct answer even if hotplug_handler is set on bus.
PS:
see ("pci: fix 'hotplugglable' property behavior") for details
why callback was introduced.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20230302161543.286002-35-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
||
|---|---|---|
| .. | ||
| apm.c | ||
| i82378.c | ||
| isa-bus.c | ||
| isa-superio.c | ||
| Kconfig | ||
| lpc_ich9.c | ||
| meson.build | ||
| pc87312.c | ||
| piix3.c | ||
| piix4.c | ||
| smc37c669-superio.c | ||
| trace-events | ||
| trace.h | ||
| vt82c686.c | ||