feat(virtio): add virtqueue interrupt methods#527
Conversation
Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
|
https://github.com/openbsd/src/blob/9cb2b01c8c81819efa339598dd45ff164e968f48/sys/dev/pv/virtio.c#L997 |
Partially yes.
|
True. |
Yes, I'm implementing similar functionality as However, we do not care about cache in DMA yet, which means the following procedure can be skipped |
Description
Added virtqueue interrupt methods
virtio_stop_vq_intrvirtio_start_vq_intrRelated links
OpenBSD
virtio_stop_vq_intrhttps://github.com/openbsd/src/blob/9cb2b01c8c81819efa339598dd45ff164e968f48/sys/dev/pv/virtio.c#L960
OpenBSD
virtio_start_vq_intrhttps://github.com/openbsd/src/blob/9cb2b01c8c81819efa339598dd45ff164e968f48/sys/dev/pv/virtio.c#L980
How was this PR tested?
Tested in #465
Notes for reviewers
We currently don't support
VIRTIO_F_RING_EVENT_IDXorVIRTIO_F_EVENT_IDX