On Thu, 13 Jun 2019 at 18:19, <miragenetvm@mail2tor> wrote: > > In my post on Qubes list I asked if it was possible to run Mirage as a Netvm: > > https://www.mail-archive.com/[email protected]/msg28027.html > > The answer I got was that it may be possible, but I need to figure it out > myself. > > Before I jump into it, is there anything I need to know beforehand? for > example is there a opam package I need to install to make it work?
Using Mirage for NetVM would be very difficult. To start with, you would need a Mirage driver for your computer's physical network card, which is unlikely to exist. Mirage mostly only supports virtual network devices (e.g. there is a Xen virtual network interface driver at https://github.com/mirage/mirage-net-xen/). Of course, you're welcome to write one. There is one driver I know of (see https://discuss.ocaml.org/t/using-ocaml-to-write-network-interface-drivers/3276), but it is very experimental. You would probably also want to support DHCP (which can be done using https://github.com/mirage/charrua), plus something to replace NetworkManager and wpa-supplicant (which don't have Mirage replacements as far as I know). -- talex5 (GitHub/Twitter) http://roscidus.com/blog/ GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC _______________________________________________ MirageOS-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/mirageos-devel
