I read the following links about user I / O: http://www.hep.by/gnu/kernel/uio-howto/
and after http://nairobi-embedded.org/uio_example.html .
I am using an ivshmem device to map memory from host to guest (in QEmu). The client driver I am using is kernel_module / uio / uio_ivshmem.c from https://www.gitorious.org/nahanni/guest-code .
I have had success sharing memory between multiple guests, and I can also issue host-to-guest interrupts using the ivshmem server from the git repository above.
But I can’t understand how I can “interrupt” a guest to notice that the write to memory is complete. That is, a signal to another guest that he should read what the first guest wrote.
What am I doing wrong? Is there a way to send interrupts using UIO or can I only get? How else should I notice that I have finished writing / reading?
source share