I have a patch for that, it was designed to run NVMe for MacOS guests and implements at least the bare minimum of the spec. I'll try to polish it up and upstream it as soon as I have time.
** Patch added: "0001-Enough-GetLogCmd-for-macOS.patch" https://bugs.launchpad.net/qemu/+bug/1777235/+attachment/5174516/+files/0001-Enough-GetLogCmd-for-macOS.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1777235 Title: NVME is missing support for Get Log Page command Status in QEMU: New Bug description: "Get Log Page" is a mandatory admin command by the specification (NVMe 1.2, Section 5, Figure 40) currently not implemented by device. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1777235/+subscriptions