Sorry, I didn't see your reply earlier.
I had the same issues as you, and concluded that you need a custom driver, as the Apple NVMe driver does not provide raw access to the NVMe device.
My code is still in the internal process of being open-sourced. But once it's cleared, it'll be released on the xNVMe repo: https://github.com/OpenMPDK/xNVMe
Link to the Discord server is at the bottom of the GitHub page: https://discord.gg/XCbBX9DmKf
Post
Replies
Boosts
Views
Activity
Have you tried IORegistryExplorer? If all the information you need is there, you won't need DriverKit to extract it.
Try with 'sudo': 'sudo xnvme enum' or 'sudo xnvme list'.
But the proper PCI support has not been released yet. The current support will only be through the block-layer device and the built-in NVMe driver.