mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
PCI: fix bridge configuration
PCI bridges' qdev info structures must indicate bridge header type, otherwise critical bridge registers (esp. PCI_PRIMARY_BUS, PCI_SECONDARY_BUS, PCI_SUBORDINATE_BUS) will not be writable. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
f139a41256
commit
776e1bbb6c
4 changed files with 4 additions and 0 deletions
|
@ -269,6 +269,7 @@ static PCIDeviceInfo dec_21154_pci_host_info = {
|
|||
.qdev.name = "dec-21154",
|
||||
.qdev.size = sizeof(PCIDevice),
|
||||
.init = dec_21154_pci_host_init,
|
||||
.header_type = PCI_HEADER_TYPE_BRIDGE,
|
||||
};
|
||||
|
||||
static PCIDeviceInfo unin_agp_pci_host_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue