On 7/17/25 06:56, Chaitanya Kulkarni wrote:
Good catch, looks good, I wish we have tests for this part of target to it will get tested on regular basis, not the requirement, just a thought.
qemu does not have a PCI endpoint capable controller device and you cannot link 2 VMs to communicate over PCIe (one VM as host the other as endpoint). So unless you get a PCIe-endpoint capable board, you cannot run this driver easily.
We can add a blktest case for sending an unsupported command though. That is easy to do. But FYI, right now, running blktest/nvme group against a pci-epf device, we get a hang... Shin'ichiro is looking into that.