return s->msix && s->msix->bar_index == bar;
}
-extern void *pci_assign_dev_load_option_rom(PCIDevice *dev,
- int *size,
- unsigned int domain,
- unsigned int bus, unsigned int slot,
- unsigned int function);
+void *pci_assign_dev_load_option_rom(PCIDevice *dev, int *size,
+ unsigned int domain, unsigned int bus,
+ unsigned int slot, unsigned int function);
static inline bool is_igd_vga_passthrough(XenHostPCIDevice *dev)
{
return (xen_igd_gfx_pt_enabled()