pci: untangle pci/msi dependency
commit4a9dd6658268a942a8ea230f950a951229355cbb
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 8 Dec 2010 08:46:23 +0000 (8 17:46 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Dec 2010 10:48:18 +0000 (9 12:48 +0200)
tree1273e979fefd46bbe01299a570221121d784bb12
parentb1aeb92666d2fde413c34578b3b42bbfe5f2a506
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