pci: make pci_bar useable outside pci.c
commitcf8c704d5a06e7b8327c65d19d0c342dc23fff84
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 7 May 2015 05:33:54 +0000 (7 15:33 +1000)
committerAlexander Graf <agraf@suse.de>
Wed, 3 Jun 2015 21:56:54 +0000 (3 23:56 +0200)
tree3bd49473b1ef1e6a5417cacf21df528ed20cdb71
parent62083979b0471ac07da6d94944bf12a9b18baa1f
pci: make pci_bar useable outside pci.c

We need to work with PCI BARs to generate OF properties
during PCI hotplug for sPAPR guests.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/pci/pci.c
include/hw/pci/pci.h