On 26/10/2026 20:49, Michael Kelly wrote:
I'm not attempting to open the device yet as that will need the
forthcoming changes to rumpdisk code.
It took me quite a while to work out how to add an Nvme device within
my libvirt/Qemu setup but I hope that the above suggests that a
logical disk is being detected even though there are errors within the
module init for ld. It is a more significant task than I expected
although these things often are. I've a feeling that there will need
to be quite a few new rump libraries built as there are a number of
'ld_xxx' modules that presumably relate to specific devices. I've
almost had enough for today but will give it some time tomorrow.
Having removed a duplicate call to devsw_attach:
[ 3.6100050] nvme0: interrupting at pausebreak
[ 3.6100050] nvme0: QEMU NVMe Ctrl, firmware 10.0.13, serial nvme-1
[ 3.6100050] ld at nvme0 nsid 1 not configured
[ 3.6100050] vendor 8086 product 293e (mixed mode multimedia, HD Audio
1.0, revision 0x03) at pci0 dev 27 function 0 not configured
[ 3.6100050] vendor 8086 product 2918 (ISA bridge, revision 0x02) at
pci0 dev 31 function 0 not configured
[ 3.6100050] vendor 8086 product 2930 (SMBus serial bus, revision
0x02) at pci0 dev 31 function 3 not configured
[ 3.6100050] ld0 at nvme0 nsid 1
[ 3.6100050] ld0: 1024 MB, 1040 cyl, 32 head, 63 sec, 512 bytes/sect x
2097152 sectors
I haven't yet made any calls to rump_vfs_makedevnodes() so it's perhaps
inaccessible at the moment. It's a start anyway.
Mike.