pci: introduce helper function to handle msi-x and msi.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 19 Oct 2010 09:06:29 +0000 (18:06 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Oct 2010 11:57:24 +0000 (13:57 +0200)
commit54816cd0035219f7138fe162962e0f8ad9d40fe0
tree0ea6ce039fc13d1044040728ccc2932b79afe066
parent90ae4d5eac1555ba42091015f341ee2e96d7248c
pci: introduce helper function to handle msi-x and msi.

this patch implements helper functions to handle msi-x and msi
uniformly.
They will be used later.

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