Skip to content

Commit

Permalink
hw/acpi: Limit hotplug to root bus on legacy mode
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
anthonyper-ctx authored and mstsirkin committed Sep 8, 2017
1 parent a6fd5b0 commit f585599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/acpi/pcihp.c
Expand Up @@ -273,7 +273,7 @@ static void pci_write(void *opaque, hwaddr addr, uint64_t data,
addr, data);
break;
case PCI_SEL_BASE:
s->hotplug_select = data;
s->hotplug_select = s->legacy_piix ? ACPI_PCIHP_BSEL_DEFAULT : data;
ACPI_PCIHP_DPRINTF("pcisel write %" HWADDR_PRIx " <== %" PRIu64 "\n",
addr, data);
default:
Expand Down

0 comments on commit f585599

Please sign in to comment.