hw/hppa: Add BMC on 64-bit machines only
Prevent adding the BMC with it's serial ports on 32-bit machines, even if they have a PCI bus like the B160L. This fixes boot problems with HP-UX on B160L. Signed-off-by: Helge Deller <deller@gmx.de> Fixes: 557bc5260cfd ("hw/hppa: PCI devices depend on availability of PCI bus") Cc: qemu-stable@nongnu.org Reviewed-by: Anton Johansson <anjo@rev.ng>
Helge Deller committed
Feb 18, 2026 at 17:05 UTC
16786eb7bf8644398707e64fff12e4c9564ec131
1 file changed
+2
hw/hppa/machine.c
+2
@@ -376,7 +376,9 @@ static void machine_HP_common_init_tail(MachineState *machine, PCIBus *pci_bus,
376
377
if (pci_bus) {
378
pci_init_nic_devices(pci_bus, mc->default_nic);
379
+ }
380
381
+ if (pci_bus && hppa_is_pa20(&cpu[0]->env)) {
382
/* BMC board: HP Diva GSP PCI card */
383
dev = qdev_new("diva-gsp");
384
if (dev && !object_property_get_bool(OBJECT(dev), "disable", NULL)) {