On 07/07/2026 09:40, Philippe Mathieu-Daudé wrote:

Generic fix for the SPARC/Sabre issue reported by Thomas:
https://lore.kernel.org/qemu-devel/[email protected]/
"hw/sparc64/sun4u: Mark unusable PCI busses as full to ease device plugging"

Philippe Mathieu-Daudé (3):
   hw/pci: Have various pci_bus*() methods take a const PCIBus argument
   hw/qdev: Introduce BusClass::is_full() handler
   hw/pci: Consider reserved slots mask when checking PCI bus is full

  include/hw/core/qdev.h              |  5 +++++
  include/hw/pci/pci.h                | 10 ++++-----
  include/hw/pci/pci_bus.h            | 10 ++++-----
  hw/pci-bridge/pci_expander_bridge.c |  4 ++--
  hw/pci/pci.c                        | 35 +++++++++++++++++++++--------
  system/qdev-monitor.c               |  3 +++
  6 files changed, 46 insertions(+), 21 deletions(-)

Tested-by: Mark Cave-Ayland <[email protected]>


ATB,

Mark.


Reply via email to