On Sun, 24 Dec 2023, Shlomo Pongratz wrote:
Hi,
I'm working on a AARCH64 project that uses the designeware
(hw/pci-host/designware.c).
I've copied the designware initialization from hw/arm/fsl-imx7.c and I
hope I've updated the dtsi correctly.
After fixing an issue with the iATU windows (see patch
https://lists.gnu.org/archive/html/qemu-devel/2023-12/msg02643.html)
I've tried to add virtualized NVMe controller.
When I added the lines:
-device nvme,serial=deadbeef,drive=nvme0,bus=pcie \ (Or without bus=)
-drive file=/home/pliops/disk-1.img,if=none,id=nvme1 \
You define drive with if=none,id=nvme1 but have drive=nvme0 in your
device. You should refer to the drive you want the device to use so I
think it should either be -device nvme,drive=nvme1 or the if of drive
should be nvme0.