nutanix / libvfio-user

framework for emulating devices in userspace
BSD 3-Clause "New" or "Revised" License
162 stars 51 forks source link

allow -1 file descriptor for ioregionfd #727

Closed tmakatos closed 1 year ago

tmakatos commented 1 year ago

This allows setting up a shadow ioeventfd without an eventfd. This can be useful when the ioeventfd doesn't need to be kicked but the value still needs to be copied e.g. NVMe completion queue head doorbells.

tmakatos commented 1 year ago

can we add a test?

done