Skip to content
  • Michael S. Tsirkin's avatar
    acpi-build: enable hotplug for PCI bridges · 99fd437d
    Michael S. Tsirkin authored
    
    
    This enables support for device hotplug behind
    pci bridges. Bridge devices themselves need
    to be pre-configured on qemu command line.
    
    Design:
        - at machine init time, assign "bsel" property to bridges with
          hotplug support
        - dynamically (At ACPI table read) generate ACPI code to handle
          hotplug events for each bridge with "bsel" property
    
    Note: ACPI doesn't support adding or removing bridges by hotplug.
    We detect and prevent removal of bridges by hotplug,
    unless they were added by hotplug previously
    (and so, are not described by ACPI).
    
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    99fd437d