mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
pci: remove PCIDeviceInfo::header_type
replace PCIDeviceInfo::header_type with is_bridge as suggested by Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
b80d4a9887
commit
e327e323f1
4 changed files with 16 additions and 11 deletions
|
@ -434,7 +434,7 @@ static PCIDeviceInfo pbm_pci_host_info = {
|
|||
.qdev.name = "pbm",
|
||||
.qdev.size = sizeof(PCIDevice),
|
||||
.init = pbm_pci_host_init,
|
||||
.header_type = PCI_HEADER_TYPE_BRIDGE,
|
||||
.is_bridge = 1,
|
||||
};
|
||||
|
||||
static SysBusDeviceInfo pbm_host_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue