id = 2212 title = "\"pci_hp_register failed with error -16\" was found in Guest when launching VM with pci-bridge and \"-machine q35\"" state = "opened" created_at = "2024-03-08T03:28:19.167Z" closed_at = "n/a" labels = ["device: PCI"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2212" host-os = "CentOS 9" host-arch = "x86_64" qemu-version = "QEMU emulator version 8.2.50 (v8.2.0-2085-gdb596ae190)" guest-os = "CentOS 9" guest-arch = "x86_64" description = """Host and guest config file configuration: CONFIG_HOTPLUG_PCI_CPCI=y CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m CONFIG_HOTPLUG_PCI_SHPC=y Use this configuration kernel to boot QEMU, with the QEMU parameter "-machine q35 -device pci-bridge,id=bridge0,chassis_nr=1". After the guest boot, dmesg will display "shpchp 0000:00:04.0: pci_hp_register failed with error -16".""" reproduce = """1.Boot QEMU 2.Check dmesg in VM""" additional = """Error log: [root@localhost ~]# dmesg | grep pci_hp_register [ 0.723893] shpchp 0000:00:04.0: pci_hp_register failed with error -16 [dmesg.log](/uploads/8ce302f996255544b4327d27ea4ac555/dmesg.log)"""