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