Hi,
On 10/9/24 12:50 PM, Mohamed Dawod wrote:
Hello, I was reading this tutorial https://github.com/kernkonzept/manifest/ wiki/NVMeWithLinux about using NVMe server with Linux guest and it works fine. Now I'm trying to apply the same tutorial but for arm64 instead of AMD64/X86_64.
As expected, it didn't work because arm64 device tree blob/source doesn't contain the same *PCI* bus with the attached *virtio_disk* device node. Instead, virt-arm_virt-64.dts file contains only 2 VMM virtual devices for ARM guests : *virtio_uart* and *virtio_net*.
I think there are two issues:
1. the missing virtio_disk node and 2. the missing PCI bus
As for the missing virtio_disk node, you can try to add it manually, something like this might work:
virtio_disk@3000 {
compatible = "virtio,mmio";
reg = <0x30000 0x200>;
interrupts = <0 124 4>;
l4vmm,vdev = "proxy";
l4vmm,virtiocap = "qdrv";
};
As for the missing PCI bus, in our internal tests we provide io with access to the QEMU ECAM MMIO device so that it can in turn discover the nvme device on the PCI bus and in turn serve it to nvme-drv on a vbus. Depending on your setup, you need to do something similar to achieve the same goal.
Best regards, Jakub _______________________________________________ l4-hackers mailing list -- l4-hackers@os.inf.tu-dresden.de To unsubscribe send an email to l4-hackers-leave@os.inf.tu-dresden.de