Re: EBUSY when using NVMe Block Driver with multiple devices in the same IOMMU group

2022-08-24 Thread Martin Oliveira
> On Aug 24, 2022, at 4:36 PM, Martin Oliveira > wrote: >-drive file=nvme://:26:00.0,if=none,id=drive0,format=raw >-device virtio-blk,drive=drive0,id=virtio0,serial=nvme0 Small typo above, I missed the /1, it should read: -drive file=nvme://:26:00.0/1,if=no

EBUSY when using NVMe Block Driver with multiple devices in the same IOMMU group

2022-08-23 Thread Martin Oliveira
Hello, I'm trying to use the QEMU NVMe userspace driver and I'm hitting an error when trying to use more than one device from an IOMMU group: Failed to open VFIO group file: /dev/vfio/39: Device or resource busy If devices belong to different IOMMU groups, then it works as expected. For ea