History | View | Annotate | Download (1.5 kB)
msi/msix: added API to set MSI message address and data
Added (msi|msix)_set_message() function for whoever mightwant to use them.
Currently msi_notify()/msix_notify() write to these vectors tosignal the guest about an interrupt so the correct values have to...
Introduce MSIMessage structure
Will be used for generating and distributing MSI messages, both inemulation mode and under KVM.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
msi: Generalize msix_supported to msi_supported
Rename msix_supported to msi_supported and control MSI and MSI-Xactivation this way. That was likely to original intention for thisflag, but MSI support came after MSI-X.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
msi: implements msi
implements msi related functions.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>