OSDN Git Service

msi: Add msi_get_message()
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 2 Oct 2012 19:22:07 +0000 (13:22 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Oct 2012 15:59:06 +0000 (17:59 +0200)
commit39b9bc626a436837f0068cb600aaf91c0e8aa937
tree3a7521400f23152428e7ac794fffa850623b6aaf
parent4774d7b258e0c4a6595a7b0bc6960c1751365bbf
msi: Add msi_get_message()

vfio-pci and pci-assign both do this on their own for setting up
direct MSI injection through KVM.  Provide a helper function for
this in MSI code.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/msi.c
hw/msi.h