From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
aarch64: until MSI-X support becomes functional enable regular PCI interrupt Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/drivers/virtio-pci-device.cc b/drivers/virtio-pci-device.cc --- a/drivers/virtio-pci-device.cc +++ b/drivers/virtio-pci-device.cc @@ -44,11 +44,17 @@ void virtio_pci_device::init() void virtio_pci_device::register_interrupt(interrupt_factory irq_factory) { +#ifdef AARCH64_PORT_STUB + // Currently MSI-X support for aach64 is stubbed (please see arch/aarch64/msi.cc) + // so until it becomes functional we register regular PCI interrupt + _irq.reset(irq_factory.create_pci_interrupt(*_dev)); +#else if (irq_factory.register_msi_bindings && _dev->is_msix()) { irq_factory.register_msi_bindings(_msi); } else { _irq.reset(irq_factory.create_pci_interrupt(*_dev)); } +#endif } virtio_legacy_pci_device::virtio_legacy_pci_device(pci::device *dev) -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/00000000000078caa705a9c8bb22%40google.com.
