pci: give each device its own address space
commit817dcc5368988b023c5e1d3f1444fd370c77c6a9
authorAvi Kivity <avi@redhat.com>
Wed, 3 Oct 2012 15:17:27 +0000 (3 17:17 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 22 Oct 2012 12:50:08 +0000 (22 14:50 +0200)
treec64ddfb4f7300c50476f59c85fc446f8a245c622
parent83f3c251422b0724044f976a7ff26b2e8a47c374
pci: give each device its own address space

Accesses from different devices can resolve differently
(depending on bridge settings, iommus, and PCI_COMMAND_MASTER), so
set up an address space for each device.

Currently iommus are expressed outside the memory API, so this doesn't
work if an iommu is present.

Signed-off-by: Avi Kivity <avi@redhat.com>
hw/pci.c
hw/pci.h