pci: untangle pci/msi dependency
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 8 Dec 2010 08:46:23 +0000 (17:46 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Dec 2010 10:48:18 +0000 (12:48 +0200)
commitc7052b186b64a1d225d87d168cdf8d5ffc69e8cf
tree1273e979fefd46bbe01299a570221121d784bb12
parent6dcd0263f6bd13d1332a12adb632cbadbc2c3f46
pci: untangle pci/msi dependency

msi depends on pci but pci should not depend on msi.
The only dependency we have is a recent addition
of pci_msi_ functions, IMO they add little enough to
open-code in the small number of users.

Follow-up patches add more cleanups.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
hw/pci.c
hw/pci.h
hw/pcie.c
hw/pcie_aer.c