On Wed, Apr 23, 2025 at 11:24:37AM +0200, Christoph Hellwig wrote: > Right now I don't have a test setup for metasgl, though. Keith, > do you have a good qemu config for that? Or anyone else? QEMU does support it, and reports support for it by default (you may need to upgrade qemu if yours is more than a year old). You just need to format your namespace with metadata then you can send commands with either SGL or MPTR. QEMU supports 0, 8, 16, and 64 metadata bytes on either 512b or 4k block sizes. If you want 8 bytes for metadata on start up, attach parameter "ms=8" to the '-device nvme-ns' qemu setup. Alternatively, you can use the 'nvme format' command after booting to change it whenever you want.