Hi Igor: > On Mar 24, 2020, at 7:47 PM, Igor Mammedov <imamm...@redhat.com> wrote: > > if you are interested in hacking ACPI PCI hotplug more, look at how > build_append_pci_bus_devices() works
I am trying to disable hot unplug of a device on PCI-PCI bridge without removing the capability to hot plug. Will it be enough to disable the following lines of code? + method = aml_method("_EJ0", 1, AML_NOTSERIALIZED); + aml_append(method, + aml_call2("PCEJ", aml_name("BSEL"), + aml_name("_SUN")) + ); + aml_append(dev, method); I have sent a patch. Please provide comments. https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg02773.html Thanks Ani