Is msi enabled?
int pci_msi_enabled(void);
void
no arguments
Returns true if MSI has not been disabled by the command-line option pci=nomsi.