On 19-02-25, 11:25, Bertrand Marquis wrote:
Hi Viresh,
Sorry for the delay but i am off sick this week.
No problem Bertrand, please take care.
It was my understanding that polling would be done at the virtqueue level and would not require anything specific in the transport itself.
Yeah, that's one way out but it likely needs updates to the virtio frontend drivers. And I don't want to get into that. I hope we can do better.
For notifications from the frontend to the backend, direct messages can be used (just ignore the answer) but for backend to frontend you will have to poll the virtqueues in the different drivers.
Why shouldn't we submit a USED EVENT message from frontend to backend and wait for it to return (for ever) ? That can work as an interrupt for us. I was worried earlier if it will block the CPU for ever at the guest, but that doesn't seem to be the case.