-
Pekka Enberg authored
Not all virtio devices support MSI. Fix device initialization by not writing to VIRTIO_MSI_QUEUE_VECTOR register if a PCI device does not advertise MSI-X support. This is needed to initialize virtio-rng devices when running on KVM/QEMU. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
Pekka Enberg authoredNot all virtio devices support MSI. Fix device initialization by not writing to VIRTIO_MSI_QUEUE_VECTOR register if a PCI device does not advertise MSI-X support. This is needed to initialize virtio-rng devices when running on KVM/QEMU. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>