Open andreeaflorescu opened 2 years ago
I wanted to pick this back up again, Its been a long time since I last saw the codebase. Last when I was working on it, I remember it required changes at mainly 3 places
If I remember correctly only root device needs to passed to the kernel command line and rest does not need to be. Can someone clarify this. I remember doing some tests to confirm everything but unfortunately I have lost all the code for that.
Once we integrate the vm-allocator (#132) we will be able to use more than one block & net device respectively. For this to work, we also need to make updates to the kernel command line on x86_64 to add multiple devices, and to the FDT on arm. Also, we need to update the virtio code for the devices because right now at least the block device works with the assumption that there is a single block on /dev/vda. The code that needs to be updated is here: https://github.com/rust-vmm/vmm-reference/tree/main/src/devices/src/virtio
We should add a python tests to check that these devices work. For Block device we could add a scratch device, check that writing in it works? other ideas are welcome