Linux: Simulate MMIO with userfaultfd()
mdavidsaver opened this issue · 1 comments
mdavidsaver commented
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.
mdavidsaver commented
Turns out this isn't possible. The value being written is not available to the fault handler.