On 1/6/24 08:33, Emile 'iMil' Heitor wrote:
To support this, I've attached `virtio*` to a newly created bus, `cmdlinebus?` which is attached to mainbus in amd64_mainbus.c I am not entirely sure this is the cleanest way to proceed and would like to have your feedback.
I like the design of OpenBSD's pvbus, it would be well fitted for this and more https://github.com/openbsd/src/tree/master/sys/dev/pv Thoughts? -- ------------------------------------------------------------------------ Emile `iMil' Heitor <imil@{home.imil.net,NetBSD.org}> | https://imil.net