Skip to content

RFC virtio-pci: polling mode support

Michael S. Tsirkin qemu-devel virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio: ISR bit constantshw/virtio.c hw/virtio.h+9 -30 replies
2/2virtio-pci: recall and return msix notifications on ISR readhw/msix.c hw/msix.h hw/virtio-pci.c+39 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support

MSIX spec requires that device can be operated with all vectors masked, by polling.

So the following patchset (lightly tested) adds this
ability: when driver reads ISR, the device recalls a pending notification, and returns pending status in the ISR register.

The polling driver can operate as follows:
- map all VQs and config to the same vector
- poll ISR to get status - this also flushes VQ updates to memory
- handle config change or VQ event depending on ISR

Comments?

Signature · 1 line
1.7.5.53.gc233e