[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] A Unikernel Firewall for QubesOS
On Sat, Jan 2, 2016 at 12:07 PM, Thomas Leonard <talex5@xxxxxxxxx> wrote: I have a Mirage firewall running now under Qubes: Excellent stuff! Â There are some things that need fixing though: I used to believe that the toolstack's job was to manage (create + destroy) the backend/frontend directories in xenstore, and it was up to the backend and frontend implementations to keep their important state somewhere safe (i.e. not xenstore or in shared memory, where another party could modify it and invalidate some invariant). For example if someone runs `xenstore-rm <backend>` I imagined the backend would still remember its configuration and would be able to clean up afterwards, and not leak. However I think the policy changed in September, probably to accommodate not-very-defensively-written backends: It looks like the driver domain now has to delete its own directory, when it has finished using it. BTW it just occurred to me that the Windows PV drivers perform an interesting hotunplug-hotplug dance when they are first connected (apparently this is caused by a strangeness of the Windows driver model). To make this work we'll need to support the `online` backend key -- basically the frontend can initiate an unplug at any time, which should cause the backend to close but not delete itself (because ` The frontend can then plug itself back in. In the case of a toolstack-initiated hot unplug, the toolstack will set ` first, so the backend will know it's safe to self-delete. Cheers, Dave Â
Dave Scott
_______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |