13 Jun
2025
13 Jun
'25
5:08 p.m.
I’m working on virtio-IOMMU interrupt remapping for Spectrum OS [1], and am running into a problem. All of the current interrupt remapping drivers use __init code during initialization, and I’m not sure how to plumb the struct virtio_device * into the IOMMU initialization code. What is the proper way to do this, where “proper” means that it doesn’t do something disgusting like “stuff the virtio device in a global variable”? -- Sincerely, Demi Marie Obenour (she/her/hers)