Closed mdavidsaver closed 3 years ago
I think it would be possible to use the Linux userfaultfd() mechanism to enable in-process simulation of MMIO devices (as opposed to eg. QEMU models). Might be helpful in driver unit testing.
Turns out this isn't possible. The value being written is not available to the fault handler.
I think it would be possible to use the Linux userfaultfd() mechanism to enable in-process simulation of MMIO devices (as opposed to eg. QEMU models). Might be helpful in driver unit testing.