mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
pci: pass address space to pci bus when created
This is now done sloppily, via get_system_memory(). Eventually callers will be converted to stop using that. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
6bd105151a
commit
1e39101c64
22 changed files with 85 additions and 35 deletions
|
@ -35,6 +35,7 @@ struct PCIHostState {
|
|||
SysBusDevice busdev;
|
||||
ReadWriteHandler conf_handler;
|
||||
ReadWriteHandler data_handler;
|
||||
MemoryRegion *address_space;
|
||||
uint32_t config_reg;
|
||||
PCIBus *bus;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue